Rain window alert will now ALWAYS text notify, but only TTS if home
This commit is contained in:
@ -1543,9 +1543,6 @@ automation:
|
||||
entity_id: binary_sensor.precipitation
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.people_present
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.windows
|
||||
state: 'on'
|
||||
@ -1554,6 +1551,11 @@ automation:
|
||||
data:
|
||||
title: "WINDOWS ARE OPEN!"
|
||||
message: "It is raining and there are windows open in the house. Please close them!"
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.people_present
|
||||
state: 'on'
|
||||
then:
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
who: everywhere
|
||||
|
Reference in New Issue
Block a user