mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
alias: 'Front Room Occupied'
|
||||
id: automation_front_room_occupied
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.front_room_occupied
|
||||
to: 'on'
|
||||
condition:
|
||||
# Computer area was not already occupied
|
||||
- condition: state
|
||||
entity_id: input_boolean.front_room_occupied
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.front_room_occupied
|
||||
Reference in New Issue
Block a user