mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Move config to a subfolder
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
>-
|
||||
|
||||
{%- set getting_hot = [
|
||||
" to cool down a bit.",
|
||||
". It's getting hot!",
|
||||
", or you're probably gonna boil!",
|
||||
", or you're gonna simmer!"
|
||||
] -%}
|
||||
|
||||
{%- set getting_cold = [
|
||||
" to warm up a bit.",
|
||||
". It's getting chilly!",
|
||||
", or you're probably gonna freeze!",
|
||||
", or you're gonna ice up!"
|
||||
] -%}
|
||||
|
||||
{%- if (states('sensor.dark_sky_temperature') | int) < (states('sensor.bedroom_weather_temperature') | int) -%}
|
||||
|
||||
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'off')
|
||||
and (states('sensor.bedroom_weather_temperature') | int) > 22 -%}
|
||||
You should probably open the master bedroom window{{ getting_hot | random }}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if is_state('binary_sensor.bedroom_right_window_on_off', 'on')
|
||||
and (states('sensor.bedroom_weather_temperature') | int) < 18 -%}
|
||||
You should probably close the master bedroom window{{ getting_cold | random }}
|
||||
{%- endif -%}
|
||||
|
||||
{%- endif -%}
|
||||
Reference in New Issue
Block a user