Skip to content

Commit

Permalink
update office light to turn off automation
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeraman committed May 2, 2024
1 parent ecd85cb commit 5fefddb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1263,11 +1263,6 @@
- platform: state
entity_id: group.office_motion
to: 'off'
- platform: state
entity_id: binary_sensor.frigate_office_desk_camera
to: 'off'
for:
minutes: 2
condition:
condition: and
conditions:
Expand All @@ -1278,10 +1273,8 @@
entity_id: input_boolean.light_on_off_auto
state: 'on'
- condition: state
entity_id: binary_sensor.frigate_office_desk_camera
entity_id: binary_sensor.person_detected
state: 'off'
for:
minutes: 2
- condition: state
entity_id: group.office_motion
state: 'off'
Expand Down

0 comments on commit 5fefddb

Please sign in to comment.