15 lines
752 B
YAML
15 lines
752 B
YAML
|
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
|