Greetings all,
First of all a huge thanks for the effort put in on this excellent UI. It’s mission-critical for the WAF!
I’m stuck however with HabPanel updating higher-level icons with the correct status in with groups.
I have a light (Study) which belongs to the group ‘Indoor Lights’, which in turn belongs to the main group ‘All Lights’.
Switching the groups on / off has the correct effect ‘top-down’, I.e. If I switch ‘Lights’ off, the group ‘Indoor Lights’ status is set to ‘off’ and the light status is set to ‘off’. This is behaving as expected.
However, if I switch the group ‘Indoor Lights’ on or off, the group status for ‘All Lights’ is not updated. In other words, in the case where there are no lights on in a group, the status of the associated higher-level / associated group is not updated.
So it seems that not all arrays containing the item (Study light) are updated with a change.
I will try to clarify with illustrations…
1- The Study light is on when ‘All Lights’ is set to ‘on’:
2- Switch off ‘All Lights’ and the ‘Indoor Lights’ panel and the ‘Study’ lights icons are set to ‘off’. No issues there.
3- Now the problem… When I set the ‘Study Light’ switch on, the status change is not updated to the respective groups to which the study light belongs. In this case they remain ‘off’ even though one of their members is on.
Is the problem maybe in my items definition?
/* Lights */
Group:Switch:OR(ON, OFF) Lights_All "All Lights [%d]" <light>
Group:Switch:OR(ON, OFF) Lights_Indoor "Indoor Lights [%d]" <light> (Lights_All)
Group:Switch:OR(ON, OFF) Lights_Outdoor "Outdoor Lights [%d]" <light> (Lights_All)
Color Light_Study "Study Light [%d %%]" <light> (Lights_All, Lights_Indoor) { channel="lifx:colorlight:D073D51407BC:color" }
Temperature Light_Study "Study Light [%d %%]" <slider> (Lights_All, Lights_Indoor) { channel="lifx:colorlight:D073D51407BC:temperature" }
Has anyone else suffered a similar fate?