mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
# alias: Set Clint Next Alarm
|
|
# id: automation_set_clint_next_alarm
|
|
# #description:
|
|
|
|
# trigger:
|
|
# - platform: state
|
|
# entity_id: binary_sensor.is_workday
|
|
# to: "off"
|
|
|
|
# - platform: state
|
|
# entity_id: binary_sensor.is_workday
|
|
# to: "on"
|
|
|
|
# - platform: time
|
|
# at: "01:00:00"
|
|
|
|
# - platform: homeassistant
|
|
# event: start
|
|
|
|
# action:
|
|
# - choose:
|
|
# - conditions:
|
|
# - condition: state
|
|
# entity_id: binary_sensor.is_workday
|
|
# state: "off"
|
|
# sequence:
|
|
# - action: input_datetime.set_datetime
|
|
# target:
|
|
# entity_id: input_datetime.clint_next_alarm
|
|
# data:
|
|
# time: "07:00:00"
|
|
|
|
# - conditions:
|
|
# - condition: state
|
|
# entity_id: binary_sensor.is_workday
|
|
# state: "on"
|
|
# sequence:
|
|
# - action: input_datetime.set_datetime
|
|
# target:
|
|
# entity_id: input_datetime.clint_next_alarm
|
|
# data:
|
|
# time: "05:45:00"
|