| 1 | language: es |
| 2 | responses: |
| 3 | intents: |
| 4 | HassGetWeather: |
| 5 | default: > |
| 6 | {% set weather_condition = { |
| 7 | 'clear': 'Cielo despejado', |
| 8 | 'clear-night': 'Cielo despejado', |
| 9 | 'cloudy': 'Cielo nuboso', |
| 10 | 'exceptional': 'Clima excepcionalmente adverso', |
| 11 | 'fog': 'Niebla', |
| 12 | 'hail': 'Precipitaciones en forma de granizo', |
| 13 | 'lightning': 'Tormentas eléctricas', |
| 14 | 'lightning-rainy': 'Lluvia y tormenta eléctrica', |
| 15 | 'partlycloudy': 'Cielos parcialmente nublados', |
| 16 | 'pouring': 'Lluvia copiosa', |
| 17 | 'rainy': 'Lluvia', |
| 18 | 'snowy': 'Precipitaciones en forma de nieve', |
| 19 | 'snowy-rainy': 'Precipitaciones en forma de aguanieve', |
| 20 | 'sunny': 'Sol', |
| 21 | 'windy': 'Vientos', |
| 22 | 'windy-variant': 'Vientos y nubes' |
| 23 | } %} |
| 24 | {{ weather_condition.get((state.state | string).lower(), "") }}, con una temperatura de {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} |