summary notification

This commit is contained in:
darthsandmann
2022-08-09 17:53:26 +02:00
parent a05dfeb7ce
commit 98d916c4ed
4 changed files with 36 additions and 8 deletions

View File

@ -0,0 +1,15 @@
script:
summary_notification:
sequence:
- service: notify.notify
data:
message: >
{% set maxTemp = states("sensor.temperature_today_max") %}
{% set minTemp = states("sensor.temperature_today_min") %}
{% set condition = states("sensor.temperature_today_condition") %}
{% set currentTemp = states("sensor.temperature_outside") %}
{% set recommendation = states("sensor.climate_temp_recommendation") %}
At the moment it is {{ condition }} outside with a temperature of {{ currentTemp }}°C.
Todays temperature will be between {{ maxTemp }}°C and {{ minTemp }}°C.
It is recommended to {{ recommendation }}.
mode: single