Reveil matin avec un bandeau de LEDs, un esp et Home-Assitant
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
322 B

- alias: "Alarm Clock"
hide_entity: False
trigger:
platform: "template"
value_template: "{{ states.sensor.time.state == states.sensor.alarmclock_time_long.state }}"
condition:
condition: "state"
entity_id: "input_boolean.alarmclock_status"
state: "on"
action:
service: "script.wake_up"