mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-11-05 12:08:43 +00:00
Fix window suggestion template
This commit is contained in:
@@ -37,6 +37,8 @@ updater:
|
|||||||
# https://www.home-assistant.io/components/logger
|
# https://www.home-assistant.io/components/logger
|
||||||
logger:
|
logger:
|
||||||
default: warning
|
default: warning
|
||||||
|
logs:
|
||||||
|
homeassistant.components.amcrest: error
|
||||||
|
|
||||||
#
|
#
|
||||||
# ─── INTEGRATIONS ───────────────────────────────────────────────────────────────
|
# ─── INTEGRATIONS ───────────────────────────────────────────────────────────────
|
||||||
|
|||||||
@@ -14,15 +14,15 @@
|
|||||||
", or you're gonna ice up!"
|
", or you're gonna ice up!"
|
||||||
] -%}
|
] -%}
|
||||||
|
|
||||||
{%- if states('sensor.dark_sky_temperature') < states('sensor.bedroom_weather_temperature') -%}
|
{%- if (states('sensor.dark_sky_temperature') | int) < (states('sensor.bedroom_weather_temperature') | int) -%}
|
||||||
|
|
||||||
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'off')
|
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'off')
|
||||||
and states('sensor.bedroom_weather_temperature') > 22 -%}
|
and (states('sensor.bedroom_weather_temperature') | int) > 22 -%}
|
||||||
You should probably open the master bedroom window{{ getting_hot | random }}
|
You should probably open the master bedroom window{{ getting_hot | random }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'on')
|
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'on')
|
||||||
and states('sensor.bedroom_weather_temperature') < 18 -%}
|
and (states('sensor.bedroom_weather_temperature') | int) < 18 -%}
|
||||||
You should probably close the master bedroom window{{ getting_cold | random }}
|
You should probably close the master bedroom window{{ getting_cold | random }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user