mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 00:44:23 +00:00
Fix camera automation
This commit is contained in:
@@ -92,7 +92,7 @@ cards:
|
||||
open: true
|
||||
entities:
|
||||
- automation.security_door_opened_while_away
|
||||
- automation.camera_turn_off_on_startup
|
||||
- automation.camera_startup
|
||||
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
|
||||
@@ -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