I have two Kasa light / fan switches. I have them turn on when the A/C turns on. Is there a way I can have them revert back to their previous setting when the A/C cycles off?
Create a Routine that turns them off when the A/C turns off?
I understand that is an option. I’m just curious if I already had a fan on prior to the A/C kicking on, could I leave them at their preset setting.
Pretty much, if the fans are on, the A/C turns on, then off, I don’t want the fans to turn off.
Use either a virtual device or a text/number field (using Mariano’s (EDGE Driver-Mc): Aplicaciones Virtuales Mc (virtual Switch Mirror, Virtual Calendar and virtual Switch Board...) driver) to keep track of the state of the light/fan switches when they are manually turned on or turned on by a Routine other than the A/C turning on. Then use that device or field as a precondition in a Routine when the A/C turns off. Something like:
If virtual device state is OFF (pre-condition)
A/C turns off
Then turn off the light/fan switch
So, if the state of that virtual device is OFF, it means that the light/fan switch was not previously on and was turned on by the Routine that turned on the A/C.
This is perhaps a simpler implementation.
The virtual switch stores information about whether the fan has been started by the first routine. The fan is only started if it is not already on.
- routine
If light/fan switch state is OFF (pre-condition)
A/C turns on
Then turn on light/fan switch & virtual switch
- routine
If virtual switch state is ON (pre-condition)
A/C turns off
Then turn off light/fan switch & virtual switch
A local virtual switch can be made using AWA.
Yeah, much simpler than my suggestion. Should have thought of it
Awesome! I’ll look into the virtual switch.
Right now I have it set as
If fan is off and ac kicks on, fans turn on and auto off in 30 min