I wish to have my main/landing dashboard split to 2 sections:
Contains “container tiles” which are actually kind of “virtual device switch” that gather all controlled modules of a specific area/room.
For example areas are Bedroom / Kitchen / Living Room, and Bedroom contains the switches and/or other controlled equipment in room.
Each tile will glow if ANY of its contained devices is ON. If none of its devices is ON, it will not glow/have different icon graphic to indicate “ALL OFF”. This can give me in a glace the overall house activation status.
Operationally, pressing on each tile/item should invoke ON/OFF command for all its contained devices, OFF - if the tile is ON (which means at least one item withing room is ON), or ON - if tile is OFF (and then all items shall be set ON upon click).
The 2nd section of this “main dashboard” is trivial, and contains links to the specific room/area dashboard to selectively control concrete devices.
Obviously 2nd section is obvious, the challenge is on implementing section 1.
Any ideas will be welcomed!