Homeassistant integration: update device type section (#32976)

* Homeassistant integration: update device type section

- Add intro section
- Update list of platforms supporting device types
- point links to device type section

* Streamline device type title
This commit is contained in:
c0ffeeca7 2024-05-28 11:22:56 +02:00 committed by GitHub
parent 6e9344b1bc
commit 827c806e19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 9 deletions

View File

@ -191,16 +191,23 @@ initial_state:
### Device class
A device class represents a group of device types. The way a specific device class is shown in the user interface depends on the platform that is using it. For example, binary sensor and cover both support the device class "window". While for the binary sensor the window can only be open or closed, for cover, a window can also be tilted. For a given platform, the device class controls how the device is shown in the user interface. For example: humidifier has two device classes, humidifier and dehumidifier. If the device class is set to `humidifier`, the UI shows **Humidifying**. If it is set to `dehumidifier`, it shows **Drying**.
Device class is currently supported by the following platforms:
- [Binary sensor](/integrations/binary_sensor/)
- [Button](/integrations/button/)
- [Cover](/integrations/cover/)
- [Humidifier](/integrations/humidifier/)
- [Media player](/integrations/media_player/)
- [Number](/integrations/number/)
- [Sensor](/integrations/sensor/)
- [Switch](/integrations/switch/)
- [Binary sensor](/integrations/binary_sensor/#device-class)
- [Button](/integrations/button/#device-class)
- [Cover](/integrations/cover/#device-class)
- [Event](/integrations/event/#device-class)
- [Humidifier](/integrations/humidifier/#device-class)
- [Media player](/integrations/media_player/#device-class)
- [Number](/integrations/number/#device-class)
- [Sensor](/integrations/sensor#device-class)
- [Switch](/integrations/switch/#device-class)
- [Update](/integrations/update/#device-class)
- [Valve](/integrations/valve/#device-class)
For a list of the supported device classes, refer to the documentation of the platform.
### Manual customization

View File

@ -49,7 +49,7 @@ information on the update state:
- `release_summary`: A summary of the release notes for the update available.
- `release_url`: A link to the full release announcement for the update available.
## Device classes
## Device class
The way these update entities are displayed in the frontend depend on their
device classes. The following device classes are supported for switches: