Debian Codegraph @

intents/responses/sr/HassGetCurrentTime.yaml

raw
1 language: sr
2 responses:
3 intents:
4 HassGetCurrentTime:
5 # return both hours and minutes with padded zeros so it is pronounced correctly by TTS
6 default: >
7 {% set hour_str = '{0:02d}'.format(slots.time.hour) %}
8 {% set minute_str = '{0:02d}'.format(slots.time.minute) %}
9
10 Сада је {{ hour_str }}:{{ minute_str }}