26.07.2019, 06:30
There's no direct way of doing this but it can be done with some custom JS and CSS.
This example uses custom additional class and 32/1/1 group address, change in both JS and CSS as needed.
JS:
CSS:
This example uses custom additional class and 32/1/1 group address, change in both JS and CSS as needed.
JS:
Code:
$(function() {
if (typeof grp === 'object') {
grp.listen('32/1/1', function(obj) {
setTimeout(function() {
$('.custom .btn').text(obj.value ? 'Manual' : 'Auto');
}, 1);
});
}
});
CSS:
Code:
.touch .custom .btn {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}