mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
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:
|
|
- action: shell_command.master_bedroom_right_preset_2
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.camera_07
|
|
state: "Door"
|
|
sequence:
|
|
- action: shell_command.master_bedroom_right_preset_1
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.camera_07
|
|
state: "Bed"
|
|
sequence:
|
|
- action: shell_command.master_bedroom_right_preset_3
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.camera_07
|
|
state: "Window"
|
|
sequence:
|
|
- action: shell_command.master_bedroom_right_preset_2
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.camera_07
|
|
state: "Floor"
|
|
sequence:
|
|
- action: shell_command.master_bedroom_right_preset_4
|
|
- conditions:
|
|
- condition: state
|
|
entity_id: input_select.camera_07
|
|
state: "Privacy"
|
|
sequence:
|
|
- action: shell_command.master_bedroom_right_preset_5
|