mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
blue_room to boys_room
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
alias: Great Room Light Switch
|
||||
description: 'Handles button presses for the Great Room Motion Switch'
|
||||
description: "Handles button presses for the Great Room Motion Switch"
|
||||
id: automation.great_room_light_switch
|
||||
mode: single
|
||||
trigger:
|
||||
@@ -18,43 +18,43 @@ trigger:
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: turned_off
|
||||
- condition: state
|
||||
entity_id: switch.great_room_motion_switch
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
option: Manual
|
||||
target:
|
||||
entity_id: input_select.great_room_mode
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: turned_on
|
||||
- condition: state
|
||||
entity_id: switch.great_room_motion_switch
|
||||
state: 'on'
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: turned_off
|
||||
- condition: state
|
||||
entity_id: switch.great_room_motion_switch
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Manual
|
||||
target:
|
||||
entity_id: input_select.great_room_mode
|
||||
state: Manual
|
||||
sequence:
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
option: Auto
|
||||
target:
|
||||
entity_id: input_select.great_room_mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.great_room_mode
|
||||
state: Auto
|
||||
sequence:
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
option: Bright
|
||||
target:
|
||||
entity_id: input_select.great_room_mode
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: turned_on
|
||||
- condition: state
|
||||
entity_id: switch.great_room_motion_switch
|
||||
state: "on"
|
||||
sequence:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.great_room_mode
|
||||
state: Manual
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Auto
|
||||
target:
|
||||
entity_id: input_select.great_room_mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.great_room_mode
|
||||
state: Auto
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Bright
|
||||
target:
|
||||
entity_id: input_select.great_room_mode
|
||||
|
||||
Reference in New Issue
Block a user