Change alarm automations
This commit is contained in:
parent
c85021e033
commit
92ea344429
@ -1,9 +1,10 @@
|
|||||||
- id: alarm-clock-automation
|
- id: alarm-clock-automation
|
||||||
alias: '[Alarm-Clock] Wakeup automation'
|
alias: '[Alarm-Clock] Wakeup automation'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: calendar
|
||||||
|
event: start
|
||||||
|
offset: '-0:30:0'
|
||||||
entity_id: calendar.automations_wakeup
|
entity_id: calendar.automations_wakeup
|
||||||
to: 'on'
|
|
||||||
action:
|
action:
|
||||||
- service: automation.turn_off
|
- service: automation.turn_off
|
||||||
target:
|
target:
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
alias: "[Calendar] Coffee machine"
|
alias: "[Calendar] Coffee machine"
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: calendar
|
||||||
|
event: start
|
||||||
entity_id: calendar.automations_caffeine_free_time
|
entity_id: calendar.automations_caffeine_free_time
|
||||||
to: 'on'
|
- platform: calendar
|
||||||
- platform: state
|
event: start
|
||||||
entity_id: calendar.automations_sleep
|
entity_id: calendar.automations_sleep
|
||||||
to: 'on'
|
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
@ -17,12 +17,12 @@
|
|||||||
alias: "[Calendar] Coffee machine"
|
alias: "[Calendar] Coffee machine"
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: calendar
|
||||||
|
event: end
|
||||||
entity_id: calendar.automations_caffeine_free_time
|
entity_id: calendar.automations_caffeine_free_time
|
||||||
to: 'off'
|
- platform: calendar
|
||||||
- platform: state
|
event: end
|
||||||
entity_id: calendar.automations_sleep
|
entity_id: calendar.automations_sleep
|
||||||
to: 'off'
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.automations_caffeine_free_time
|
entity_id: calendar.automations_caffeine_free_time
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
alias: '[F1] Automation'
|
alias: '[F1] Automation'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: calendar
|
||||||
|
event: start
|
||||||
|
offset: '-0:05:0'
|
||||||
entity_id: calendar.2021_fia_formula_one_world_championship_race_calendar
|
entity_id: calendar.2021_fia_formula_one_world_championship_race_calendar
|
||||||
to: 'on'
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_select.home_mode
|
entity_id: input_select.home_mode
|
||||||
|
Loading…
Reference in New Issue
Block a user