mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
alias: Camera07 Preset
|
||||
id: automation_camera07_preset
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.camera_07
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
- platform: time_pattern
|
||||
minutes: "/30"
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.camera_07
|
||||
state: 'Static'
|
||||
sequence:
|
||||
- service: shell_command.master_bedroom_right_preset_2
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.camera_07
|
||||
state: 'Door'
|
||||
sequence:
|
||||
- service: shell_command.master_bedroom_right_preset_1
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.camera_07
|
||||
state: 'Bed'
|
||||
sequence:
|
||||
- service: shell_command.master_bedroom_right_preset_3
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.camera_07
|
||||
state: 'Window'
|
||||
sequence:
|
||||
- service: shell_command.master_bedroom_right_preset_2
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.camera_07
|
||||
state: 'Floor'
|
||||
sequence:
|
||||
- service: shell_command.master_bedroom_right_preset_4
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.camera_07
|
||||
state: 'Privacy'
|
||||
sequence:
|
||||
- service: shell_command.master_bedroom_right_preset_5
|
||||
Reference in New Issue
Block a user