mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -24,26 +24,26 @@ triggers:
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: "door_open"
|
||||
- condition: state
|
||||
entity_id: light.mancave
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: "door_open"
|
||||
- condition: state
|
||||
entity_id: light.mancave
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: "door_closed"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.mancave_motion_switch_home_security_motion_detection
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: light.mancave
|
||||
state: 'on'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.mancave
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.mancave
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: "door_closed"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.mancave_motion_switch_home_security_motion_detection
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: light.mancave
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: light.turn_off
|
||||
target:
|
||||
entity_id: light.mancave
|
||||
|
||||
Reference in New Issue
Block a user