28.07.2025, 07:50
Add this to Custom JS. Change group address (1/1/1) and plan ID (#menu-plan-2) as needed:
Code:
$(function(){
if (window.grp) {
grp.listen('1/1/1', function(obj) {
$('#menu-plan-2 > span').css({
color: obj.value ? '#fff' : '',
backgroundColor: obj.value ? '#b94a48' : '',
});
});
}
});