Debian Codegraph @

intents/responses/lb/HassGetWeather.yaml

raw
1 language: lb
2 responses:
3 intents:
4 HassGetWeather:
5 default: >
6 {% set weather_condition = {
7 'clear': 'a kloer',
8 'clear-night': 'a kloer Nuecht',
9 'cloudy': 'a Wolleken',
10 'exceptional': 'an aussergewéinlech',
11 'fog': 'mat Niwwel',
12 'hail': 'mat Knëppelsteng',
13 'lightning': 'mat Wiederen',
14 'lightning-rainy': 'mat Wiederen a Reen',
15 'partlycloudy': 'and partly cloudy',
16 'pouring': 'and pouring rain',
17 'rainy': 'a Reen',
18 'snowy': 'a Schnéi',
19 'snowy-rainy': 'mat Schnéi a Reen',
20 'sunny': 'a sonneg',
21 'windy': 'a lëfteg',
22 'windy-variant': 'mat Wand a Wolleken'
23 } %}
24 {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), "") }}