| 1 |
language: de |
| 2 |
responses: |
| 3 |
intents: |
| 4 |
HassGetWeather: |
| 5 |
default: > |
| 6 |
{% set weather_condition = { |
| 7 |
'clear': 'und klar', |
| 8 |
'clear-night': 'und klare Nacht', |
| 9 |
'cloudy': 'und bewölkt', |
| 10 |
'exceptional': 'und außergewöhnlich', |
| 11 |
'fog': 'mit Nebel', |
| 12 |
'hail': 'mit Hagel', |
| 13 |
'lightning': 'mit Gewitter', |
| 14 |
'lightning-rainy': 'mit Gewitter und Regen', |
| 15 |
'partlycloudy': 'und teilweise bewölkt', |
| 16 |
'pouring': 'und strömender Regen', |
| 17 |
'rainy': 'und regnerisch', |
| 18 |
'snowy': 'und verschneit', |
| 19 |
'snowy-rainy': 'mit Schnee und Regen', |
| 20 |
'sunny': 'und sonnig', |
| 21 |
'windy': 'und windig', |
| 22 |
'windy-variant': 'mit Wind und Wolken' |
| 23 |
} %} |
| 24 |
{{ state.attributes.get('temperature') | float | round(1) | replace(".",",") | replace(",0","") }} {{ state.attributes.get('temperature_unit') | replace("°C","Grad") | replace("°F","Grad") }} {{ weather_condition.get((state.state | string).lower(), "") }} |
| 25 |
|
| 26 |
outside_temp: > |
| 27 |
{{ state.attributes.get('temperature') | float | round(1) | replace(".",",") | replace(",0","") }} {{ state.attributes.get('temperature_unit') | replace("°C","Grad") | replace("°F","Grad") }} |