mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -5,38 +5,38 @@ id: automation_set_clint_next_alarm
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
to: 'off'
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
to: 'on'
|
||||
to: "on"
|
||||
|
||||
- platform: time
|
||||
at: '01:00:00'
|
||||
at: "01:00:00"
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.is_workday
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: 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: "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:
|
||||
- service: input_datetime.set_datetime
|
||||
target:
|
||||
entity_id: input_datetime.clint_next_alarm
|
||||
data:
|
||||
time: "05:30: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:30:00"
|
||||
|
||||
Reference in New Issue
Block a user