intents/responses/it/HassClimateGetTemperature.yaml
raw| 1 | language: "it" |
| 2 | responses: |
| 3 | intents: |
| 4 | HassClimateGetTemperature: |
| 5 | default: > |
| 6 | {% set current_temperature = state_attr(state.entity_id, 'current_temperature') %} |
| 7 | {% set temperature = state.state if current_temperature is none else current_temperature %} |
| 8 | {% if temperature == 1: %} |
| 9 | {{ temperature }} grado |
| 10 | {% else: %} |
| 11 | {{ temperature }} gradi |
| 12 | {% endif %} |