initial commit
This commit is contained in:
20
configuration/automation/occupancy_living_room.yaml
Normal file
20
configuration/automation/occupancy_living_room.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
- alias: "[Living Room] Occupancy to True"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id:
|
||||
- binary_sensor.presence_living_room_sensor_1
|
||||
to: "on"
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.occupancy_living_room
|
||||
|
||||
- alias: "[Living Room] Occupancy to False"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id:
|
||||
- binary_sensor.presence_living_room_sensor_1
|
||||
to: "off"
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.occupancy_living_room
|
Reference in New Issue
Block a user