Added states (#14874)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
johanf85 2020-10-04 13:04:53 +02:00 committed by GitHub
parent 412a555fdc
commit e41c060098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,3 +220,14 @@ Turn climate device off. This is only supported if the climate device has the HV
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | String or list of strings that define the entity ID(s) of climate device(s) to control. To target all climate devices, use `all`.
## Attributes
The climate entity has extra attributes to represent the state of the thermostat.
| Name | Description |
| ---- | ----------- |
| `hvac_action` | Current state: `heat` / `cool` / `idle`.
| `fan` | If the fan is currently on or off: `on` / `off`.
It depends on the thermostat you are using which states are available.