home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.66k stars 28.83k forks source link

Automation not trigger - platform time sensor type timestamp #119429

Open Joerg76 opened 2 weeks ago

Joerg76 commented 2 weeks ago

The problem

Automation is not triggered on sensor with type timestamp

trigger:

sensor.template_alarm_clock 2024-06-12T03:25:00+00:00 device_class: timestamp

What version of Home Assistant Core has the issue?

core-2024.6.2

What was the last working version of Home Assistant Core?

core-2024.4 or later

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Automation

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

trigger:
  - platform: time
    at: sensor.template_alarm_clock

sensor.template_alarm_clock 2024-06-12T03:25:00+00:00 device_class: timestamp

Anything in the logs that might be useful for us?

No response

Additional information

No response

pkissling commented 2 weeks ago

i observe a similar issue since i upgraded to 2024.6.x. my alarm clock is not working anymore because of it. Though i am using the input_datatime entity, not a custom sensor.

wakeup_time:
  name: Wakeup Time
  icon: mdi:clock-outline
  has_date: false
  has_time: true
- alias: Alarm
  trigger:
    platform: time
    at: input_datetime.wakeup_time
    # ...