| 1 | language: pt |
| 2 | responses: |
| 3 | intents: |
| 4 | HassGetWeather: |
| 5 | default: > |
| 6 | {% set weather_condition = { |
| 7 | 'clear': 'Céu limpo', |
| 8 | 'clear-night': 'Céu limpo', |
| 9 | 'cloudy': 'Céu nublado', |
| 10 | 'exceptional': 'Condições excepcionalmente adversas', |
| 11 | 'fog': 'Nevoeiro', |
| 12 | 'hail': 'Granizo', |
| 13 | 'lightning': 'Trovoada', |
| 14 | 'lightning-rainy': 'Chuva e trovoada', |
| 15 | 'partlycloudy': 'Céu parcialmente nublado', |
| 16 | 'pouring': 'Chuva forte', |
| 17 | 'rainy': 'Chuva', |
| 18 | 'snowy': 'Neve', |
| 19 | 'snowy-rainy': 'Chuva e neve', |
| 20 | 'sunny': 'Sol', |
| 21 | 'windy': 'Vento', |
| 22 | 'windy-variant': 'Vento e céu nublado' |
| 23 | } %} |
| 24 | {{ weather_condition.get((state.state | string).lower(), "") }}, com temperatura de {{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} |