Hi,
I’m trying to base some automations on some really simple harmony logic (basically state trigger from ‘on’ to ‘off’ and ‘off’ to ‘on’). For some reason this just won’t work.
The two automations in question basically follow the same format as the following, the only difference being ‘on’ to ‘off’ and the lights should turn on in that case. Note that I can just run the automation and it controls the light fine, so it has to be in the trigger or condition.
I also see the state transition for the remote within States in Developer Tools when I use it, so it feels like it should work, but no dice.
I’m running v0.89.1.
- id: '1546658220023'
alias: Turn Off Lights When TV On
trigger:
- entity_id: remote.family_room
from: 'off'
platform: state
to: 'on'
condition:
- after: '20:00:00'
before: 06:00:00
condition: time
action:
- alias: ''
data: {}
entity_id:
- light.kitchen_main_lights
- light.kitchen_table_lights
- light.front_foyer_main_lights
service: light.turn_off