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
|
entity_id: binary_sensor.precipitation
|
||||||
to: 'on'
|
to: 'on'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.people_present
|
|
||||||
state: 'on'
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.windows
|
entity_id: binary_sensor.windows
|
||||||
state: 'on'
|
state: 'on'
|
||||||
@ -1554,6 +1551,11 @@ automation:
|
|||||||
data:
|
data:
|
||||||
title: "WINDOWS ARE OPEN!"
|
title: "WINDOWS ARE OPEN!"
|
||||||
message: "It is raining and there are windows open in the house. Please close them!"
|
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
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
who: everywhere
|
who: everywhere
|
||||||
|
Reference in New Issue
Block a user