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:
@@ -72,7 +72,6 @@ condition:
|
||||
- alias: Check if the light should turn on when the home is occupied
|
||||
condition: and
|
||||
conditions:
|
||||
|
||||
- alias: "Home is occupied"
|
||||
condition: state
|
||||
entity_id: input_boolean.home_occupied
|
||||
@@ -81,7 +80,6 @@ condition:
|
||||
- alias: "Check if light should turn on"
|
||||
condition: or
|
||||
conditions:
|
||||
|
||||
- alias: "Guest mode is on"
|
||||
condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
@@ -90,15 +88,13 @@ condition:
|
||||
- alias: "Motion in dark garage, or workshop regardless of light level"
|
||||
condition: or
|
||||
conditions:
|
||||
|
||||
- alias: "Motion or occupancy were detected in a dim room"
|
||||
condition: and
|
||||
conditions:
|
||||
|
||||
- alias: "Room not naturally lit"
|
||||
condition: state
|
||||
entity_id: binary_sensor.garage_naturally_lit
|
||||
state: 'off'
|
||||
state: "off"
|
||||
|
||||
- alias: "Motion, occupancy, or door opening were detected"
|
||||
condition: or
|
||||
@@ -129,8 +125,8 @@ condition:
|
||||
|
||||
action:
|
||||
- alias: "Make sure Z-Wave switch is turned on"
|
||||
service: homeassistant.turn_on
|
||||
action: homeassistant.turn_on
|
||||
target:
|
||||
entity_id: switch.garage_switch
|
||||
|
||||
- delay: 1
|
||||
- delay: 1
|
||||
|
||||
Reference in New Issue
Block a user