Debian Codegraph @

intents/responses/cs/HassGetWeather.yaml

raw
1 language: cs
2 responses:
3 intents:
4 HassGetWeather:
5 default: >
6 {% set weather_condition = {
7 'clear': 'a jasno',
8 'clear-night': 'a jasno',
9 'cloudy': 'a zamračeno',
10 'exceptional': 'a výjímečně',
11 'fog': 's mlhou',
12 'hail': 's kroupami',
13 'lightning': 's bouřkami',
14 'lightning-rainy': 's bouřkami a deštěm',
15 'partlycloudy': 'a částečně zamračeno',
16 'pouring': 'a silný déšť',
17 'rainy': 'a přeháňky',
18 'snowy': 'a sněžení',
19 'snowy-rainy': 'a déšť se sněhem',
20 'sunny': 'a slunečno',
21 'windy': 'a větrno',
22 'windy-variant': 'se silným větrem'
23 } %}
24 {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), "") }}