home-assistant-configuration/scripts/security_warning_back_door....

13 lines
280 B
YAML

security_warning_back_door:
sequence:
- event: LOGBOOK_ENTRY
event_data:
name: EVENT
message: "Warning: Back door open"
- delay:
seconds: 5
- service: tts.google_say
data:
entity_id: media_player.hass_speaker
message: Back door open