mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -10,18 +10,18 @@ trigger:
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: person.clint
|
||||
state: 'home'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.people_count
|
||||
above: 0
|
||||
below: 2
|
||||
sequence:
|
||||
- service: homeassistant.turn_on
|
||||
entity_id: input_boolean.clint_home_alone
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: person.clint
|
||||
state: "home"
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.people_count
|
||||
above: 0
|
||||
below: 2
|
||||
sequence:
|
||||
- action: homeassistant.turn_on
|
||||
entity_id: input_boolean.clint_home_alone
|
||||
|
||||
default:
|
||||
- service: homeassistant.turn_off
|
||||
entity_id: input_boolean.clint_home_alone
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.clint_home_alone
|
||||
|
||||
Reference in New Issue
Block a user