Creating a alarm clock

Can you share me your code and how to fix it? Thank you

1 Like

I read it, but idk how to fix, i newbie in programing :frowning:

There’s nothing programming about it. All you need to to is add the sensor to your configuration.yaml. Copy & paste.

1 Like

Oh, thank you, and i place this code to my configuration.yaml to add sensor.time right? :smiley: Thank you very much

sensor:
  - platform: time_date
    display_options:
      - 'time'
      - 'date'
      - 'date_time'
      - 'date_time_utc'
      - 'date_time_iso'
      - 'time_date'
      - 'time_utc'
      - 'beat'

UPDATE:, it worked, cant belive i must add sensor time by above code to fix it hahahaha, so stupid. Thank @petro and @g14nn86 so much. <3

what is the input_boolean.wakestatus_1 used for?

It’s honestly a bit redundant, but it controls whether that alarm will run or not. That way, I can leave the weekday toggles on but turn off the alarm itself if I want, and then turn it back on later for the same days with a single button. With my work schedule, this is a convenient feature.

The automation should work without it, as long as you remove it from the conditionals.