I’ve run into this now with a few different items, either I’m not using the right verbiage or past/present tense. Not super user friendly with guessing what it has to be…
This is a very basic automation, open the door > turn light on. Can someone tell me what I’m doing wrong?
- id: '1590694301917'
alias: Toilet Lights - Day
description: ''
trigger:
- entity_id: binary_sensor.doorsensor_toilet_contact
platform: state
to: 'Opened'
condition:
- after: sunrise
before: sunset
condition: sun
action:
- scene: scene.bathroom_lights_on_day