mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-09 23:02:59 +00:00
Fix camera automation
This commit is contained in:
@@ -93,8 +93,7 @@ script:
|
||||
|
||||
# Hack - the switch.camera initial state is wrong (ON) when the server starts.
|
||||
automation:
|
||||
- id: camera_turn_off_on_startup
|
||||
alias: Camera · Startup
|
||||
- alias: Camera · Startup
|
||||
trigger:
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
@@ -103,8 +102,7 @@ automation:
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.camera
|
||||
|
||||
- id: security_door_opened_while_away
|
||||
alias: Security · Door opened while away
|
||||
- alias: Security · Door opened while away
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.front_door_on_off
|
||||
|
||||
Reference in New Issue
Block a user