| 1 | language: gl |
| 2 | responses: |
| 3 | intents: |
| 4 | HassGetWeather: |
| 5 | default: > |
| 6 | {% set weather_condition = { |
| 7 | 'clear': 'Despexado', |
| 8 | 'clear-night': 'Noite despexada', |
| 9 | 'cloudy': 'Anubrado', |
| 10 | 'exceptional': 'Condicións excepcionalmente adversas', |
| 11 | 'fog': 'Néboa', |
| 12 | 'hail': 'Sarabia', |
| 13 | 'lightning': 'Lóstregos', |
| 14 | 'lightning-rainy': 'Chuvia e lóstregos', |
| 15 | 'partlycloudy': 'Ceo parcialmente anubrado', |
| 16 | 'pouring': 'Ballón', |
| 17 | 'rainy': 'Chuvia', |
| 18 | 'snowy': 'Neve', |
| 19 | 'snowy-rainy': 'Chuvia e neve', |
| 20 | 'sunny': 'Sol', |
| 21 | 'windy': 'Vento', |
| 22 | 'windy-variant': 'Vento e ceo anubrado' |
| 23 | } %} |
| 24 | {{ weather_condition.get((state.state | string).lower(), "") }}, con {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} de temperatura |