Input boolean issue

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! :slight_smile:

Why do you want a boolean to mirror the state of the binary sensor (kind of).
What does the trace say when you change the state of the sensor?

Check the automation trace.

1 Like

I’m using that to trigger my morning announcements. So I can turn it back off so it only plays once per day. That was my thought… perhaps I’m going about this the wrong way, just seemed easy for me to do it this way.

As for the trace, it says No traces found.

Then neither of the triggers have occurred.

1 Like