Move config out of subfolder

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent addfa33f6f
commit 1ae0c6d0b8
221 changed files with 0 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
automation:
- alias: iOS · Alarm off
trigger:
platform: event
event_type: ios.action_fired
action:
choose:
- conditions: "{{ trigger.event.data.actionName == 'alarm_off' }}"
sequence:
- service: notify.telegram
data:
title: "📱 *iOS Module*"
message: "iOS alarm is off. Switching to Day Mode!"
- service: input_select.select_option
entity_id: input_select.bedroom_mode
data:
option: "day"
- conditions: "{{ trigger.event.data.actionName == 'wind_down' }}"
sequence:
- service: notify.telegram
data:
title: "📱 *iOS Module*"
message: "iOS wind_down is on. Switching to Bed Mode!"
- service: input_select.select_option
entity_id: input_select.bedroom_mode
data:
option: "bed"
- conditions: "{{ trigger.event.data.actionName == 'bedtime' }}"
sequence:
- service: notify.telegram
data:
title: "📱 *iOS Module*"
message: "iOS bedtime is on. Switching to Night Mode!"
- service: input_select.select_option
entity_id: input_select.bedroom_mode
data:
option: "night"