mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-07 09:24:43 +00:00
Fix camera automation
This commit is contained in:
@@ -92,7 +92,7 @@ cards:
|
|||||||
open: true
|
open: true
|
||||||
entities:
|
entities:
|
||||||
- automation.security_door_opened_while_away
|
- automation.security_door_opened_while_away
|
||||||
- automation.camera_turn_off_on_startup
|
- automation.camera_startup
|
||||||
|
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
head:
|
head:
|
||||||
|
|||||||
@@ -93,8 +93,7 @@ script:
|
|||||||
|
|
||||||
# Hack - the switch.camera initial state is wrong (ON) when the server starts.
|
# Hack - the switch.camera initial state is wrong (ON) when the server starts.
|
||||||
automation:
|
automation:
|
||||||
- id: camera_turn_off_on_startup
|
- alias: Camera · Startup
|
||||||
alias: Camera · Startup
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
event: start
|
event: start
|
||||||
@@ -103,8 +102,7 @@ automation:
|
|||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.camera
|
entity_id: switch.camera
|
||||||
|
|
||||||
- id: security_door_opened_while_away
|
- alias: Security · Door opened while away
|
||||||
alias: Security · Door opened while away
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.front_door_on_off
|
entity_id: binary_sensor.front_door_on_off
|
||||||
|
|||||||
Reference in New Issue
Block a user