Updates to the Fridge temps.
This commit is contained in:
parent
0185d6d9de
commit
ac6efa5abc
|
@ -14,7 +14,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.blink_blink1_temperature
|
entity_id: sensor.blink_blink1_temperature
|
||||||
above: 50
|
above: 55
|
||||||
for:
|
for:
|
||||||
minutes: 20
|
minutes: 20
|
||||||
- platform: event
|
- platform: event
|
||||||
|
@ -23,7 +23,7 @@ automation:
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.blink_blink1_temperature
|
entity_id: sensor.blink_blink1_temperature
|
||||||
above: 50
|
above: 55
|
||||||
|
|
||||||
action:
|
action:
|
||||||
|
|
||||||
|
@ -40,10 +40,8 @@ automation:
|
||||||
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data_template:
|
data_template:
|
||||||
value1: >
|
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes."
|
||||||
{{ [
|
no_fridge: 1
|
||||||
"Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes."
|
|
||||||
] | random }}
|
|
||||||
|
|
||||||
- delay: 00:30:00
|
- delay: 00:30:00
|
||||||
- event: event_fridge_still_hot_loop
|
- event: event_fridge_still_hot_loop
|
||||||
|
|
|
@ -297,7 +297,7 @@
|
||||||
{{ lightning() }}
|
{{ lightning() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if (states('sensor.blink_blink1_temperature')|int) > 50 %}
|
{% if (states('sensor.blink_blink1_temperature')|int) > 50 and no_fridge != 1 %}
|
||||||
{{ fridge() }}
|
{{ fridge() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 40 KiB |
Binary file not shown.
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 175 KiB |
Loading…
Reference in New Issue