mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
Add window suggestions
This commit is contained in:
15
templates/partials/window_suggestions.yaml
Normal file
15
templates/partials/window_suggestions.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
>-
|
||||
|
||||
{%- if states('sensor.dark_sky_temperature') < states('sensor.bedroom_weather_temperature') -%}
|
||||
|
||||
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'off')
|
||||
and states('sensor.bedroom_weather_temperature') > 22
|
||||
You should probably open the master bedroom window to cool down a bit.
|
||||
{%- endif -%}
|
||||
|
||||
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'on')
|
||||
and states('sensor.bedroom_weather_temperature') < 18
|
||||
You should probably close the master bedroom window, it's getting chilly.
|
||||
{%- endif -%}
|
||||
|
||||
{% -endif -%}
|
||||
Reference in New Issue
Block a user