intents/responses/th/HassClimateGetTemperature.yaml
raw| 1 | language: th |
| 2 | responses: |
| 3 | intents: |
| 4 | HassClimateGetTemperature: |
| 5 | default: |
| 6 | "TODO: {% 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: %} {{ temperature }} degree {% else: %} {{ temperature |
| 9 | }} degrees {% endif %} |
| 10 | |
| 11 | " |