I have an Everything Presence Lite, my smart TV and some ceiling lights & lamps in my living room.
I'm trying to create an automation that will do the following:
Triggers:
- Occupancy detected
- TV turned on
Conditions:
- Illumination below 50 lux (measured by EPL)
Actions:
- Conditional action
- 1: If the TV is off, turn on the main lights and turn off the lamps
- 2: If the TV is on, turn on the lamps and turn off the main lights
- Wait on occupancy clearing for 1 minute
- Turn off all lights
The occupancy detection part of this all works fine. If the TV is on when the sensor is triggered it turns the lamps on, otherwise the main lights.
However, the intention is that when you first walk into the room while the TV is off, the main light will come on. Then when you turn on the TV it will re-trigger the automation swapping to the lamps. This doesn't seem to work.
Can anyone help me?