Hi, there are a couple of issues I’ve got with the below piston. Firstly, it seems to only run once. So will notify me the first time a light is turned on during the time conditions but won’t notify me if any further lights turn on during the same time period. Do I need to use a while loop to achieve that?
Secondly, when the piston did run first time, I got duplicate notifications. I had this issue with an outdoor light condition which was also based on sunset timings so I think I know what would fix it but this time it’s not one device being manipulated, it could be more than one and they will be in the “LightsOn” variable so not sure how I resolve that.
Any help would be much appreciated!