mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
add 'hours' to the prompt (#34474)
This commit is contained in:
parent
e643141539
commit
d4cf69f11c
@ -123,7 +123,7 @@ action:
|
|||||||
Forecast: {{ forecast.condition }} ({{ forecast.temperature }}{{ temperature_unit }}, {{ forecast.precipitation }}% precipitation)
|
Forecast: {{ forecast.condition }} ({{ forecast.temperature }}{{ temperature_unit }}, {{ forecast.precipitation }}% precipitation)
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
Calendar "{{ state_attr(calendar_entity, 'friendly_name') }}" events for the next {{ calendar_duration.hours }}:
|
Calendar "{{ state_attr(calendar_entity, 'friendly_name') }}" events for the next {{ calendar_duration.hours }} hours:
|
||||||
{%- set agenda = (events_response | items | first)[1] %}
|
{%- set agenda = (events_response | items | first)[1] %}
|
||||||
{%- if agenda.events %}
|
{%- if agenda.events %}
|
||||||
{%- for event in agenda.events %}
|
{%- for event in agenda.events %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user