Okay. So I have an insteon dimmer module on my bathroom light switch. In case you aren’t familiar, it is installed behind the light switch so the dimming can only occur via Home Assistant or my isy994i (no insteon hub here). I have a couple automations to dim the lights if they turn on during certain times. In the evening, they’re at 50% and in the middle of the night they’re at 15%. This works great so we’re not blinded at night. However, in the evenings during the bedtime routine, occasionally my wife or I need the lights on brighter (read: pop a pimple or blackhead…haha…or just to see our beautiful faces better).
I’d like to set it so that if we switch the lights off and then on again quickly at the switch, the dimming automations will be killed temporarily and the lights will be full brightness until the switch is turned off. At this point the dimming automations will be re-engaged.
With the ISY integration, home assistant can listen for direct isy events so I know I can differentiate the manual changes at the light switch.
What I’m not sure about is how to go about this.
My original thought was to set up an input boolean so if it’s true/on, the dimming automations will occur as per usual but if the isy event DOF (light turned off at the switch) is followed quickly by DON (light turned on at the swtich) lets say within 1/2 a second, then the input boolean would become false/off which would set the lights to 100% and turn off the dimming automations. When the lights turn back off, the input boolean would go back to true/on.
Wow, what a run-on sentence…
I’m just not sure how to do this.
There may also be a better way to accomplish my overall need.
Any help is greatly appreciated.