This is what I have for an input_boolean:
out_of_bed:
name: outofbed
initial: off
I’m using that to trigger this automation:
- alias: 97a - Bed On
id: Bed on
trigger:
- platform: state
entity_id: binary_sensor.bed_sensor_contact_2
from: "off"
to: "on"
- platform: sun
event: sunrise
offset: "00:00:00"
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
service: input_boolean.turn_on
target:
entity_id: input_boolean.out_of_bed
However it never turns the input_boolean on… what am I missing?
Thank you!