Debian Codegraph @

intents/responses/cs/HassGetCurrentTime.yaml

raw
1 language: cs
2 responses:
3 intents:
4 HassGetCurrentTime:
5 default: >
6 {% set minute_str = '{0:02d}'.format(slots.time.minute) %}
7
8 {% if slots.time.hour in [2, 3, 4]: %}
9 jsou {{ slots.time.hour }}:{{ minute_str }}
10 {% else: %}
11 je {{ slots.time.hour }}:{{ minute_str }}
12 {% endif %}