22.04.2024, 07:17
I want to indicate the status of Zones and subzones.
For example, if I have zone A, which is made up of zones 1, 2 and 3.
I have three general on/off buttons: for the entire zone A, and independently for each zone 1,2,3.
I want that if any of the subzones is activated, I want zone A to also be activated. I want the zone's general on button to be held down both in the subzone and in the zone.
Using the script, how could I do it?
For example, if I have zone A, which is made up of zones 1, 2 and 3.
I have three general on/off buttons: for the entire zone A, and independently for each zone 1,2,3.
I want that if any of the subzones is activated, I want zone A to also be activated. I want the zone's general on button to be held down both in the subzone and in the zone.
Using the script, how could I do it?