1
0

Change alarm automations

This commit is contained in:
Przemek Grondek 2022-07-10 12:34:59 +02:00
parent c85021e033
commit 92ea344429
3 changed files with 14 additions and 12 deletions

View File

@ -1,9 +1,10 @@
- id: alarm-clock-automation
alias: '[Alarm-Clock] Wakeup automation'
trigger:
- platform: state
- platform: calendar
event: start
offset: '-0:30:0'
entity_id: calendar.automations_wakeup
to: 'on'
action:
- service: automation.turn_off
target:

View File

@ -2,12 +2,12 @@
alias: "[Calendar] Coffee machine"
mode: single
trigger:
- platform: state
- platform: calendar
event: start
entity_id: calendar.automations_caffeine_free_time
to: 'on'
- platform: state
- platform: calendar
event: start
entity_id: calendar.automations_sleep
to: 'on'
action:
- service: switch.turn_off
target:
@ -17,12 +17,12 @@
alias: "[Calendar] Coffee machine"
mode: single
trigger:
- platform: state
- platform: calendar
event: end
entity_id: calendar.automations_caffeine_free_time
to: 'off'
- platform: state
- platform: calendar
event: end
entity_id: calendar.automations_sleep
to: 'off'
condition:
- condition: state
entity_id: calendar.automations_caffeine_free_time

View File

@ -2,9 +2,10 @@
alias: '[F1] Automation'
mode: single
trigger:
- platform: state
- platform: calendar
event: start
offset: '-0:05:0'
entity_id: calendar.2021_fia_formula_one_world_championship_race_calendar
to: 'on'
condition:
- condition: state
entity_id: input_select.home_mode