Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 100266

Alarm Clock automation not triggering

$
0
0

@BlunderCig wrote:

Here is my automation to turn on a light at the time of an alarm:

- id: alarm_clock

  alias: Alarm Clock

  description: ''

  trigger:

  - platform: time_pattern

    minutes: '/1'

    seconds: 0

  condition:

  - condition: template

    value_template: 'value_template: ''{{ states.sensor.time.state == states.sensor.alarm_clock_time_long.state

      }}'''

  - condition: state

    entity_id: input_boolean.alarm_clock_status

    state: 'on'

  action:

  - data: {}

    entity_id: light.0250750384f3ebfaf29c

    service: light.turn_on

I have confirmed via the template developer tool that the template does = true when the times match. The issue I am having is getting the automation to trigger. I am thinking I have missed something or messed something up with the time pattern? Any advice on how to make this work would be appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 100266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>