Grouped Lights

In all rooms except bathroom I use a LDR on ESP8266 to provide instant feedback regarding state of the lights (OMG can provide reads instantly if delta is over a threshold or at specified time intervals) and then repeat the command in HA if LDR read didn’t changed to expected value. This way I have confirmation if the commands worked even if I don’t get acknowledgment from the lights gateway.

However, for the bathroom I didn’t wanted to add any device that might cause electrical hazard due to condensation so I had to use the switch outside to control the lights. In order not to add a USB adapter and an ESP8266 (which I considered dangerous :slight_smile: ) I replaced the moisture sensor on a weather station (which has a scale of 0 to 100 vs. the temperature sensor which uses a -20 to 60 degrees scale) with a LDR. The downside is that the reads are only updated in HA at a 30 seconds interval but the battery life is about 5 to 6 months and there are also low battery codes sent.