Recently i have change from Ewelink integration to Sonoff LAN integration. It works well when i use Ewelink integration, but now it doesn’t work.
Is it because no ‘state’ attribute in the sonoff binary sensor, it cannot trigger ?
alias: Living hall door closed - Center car porch - Decrease brightness
description: ''
trigger:
- platform: state
entity_id: binary_sensor.sonoff_a4b00034ac
to: 'off'
condition:
- condition: time
after: '19:30:00'
before: '07:00:00'
action:
- service: script.dark_orange_color
mode: single