Humidifier add device class (#32975)

* Humidifier: add device class section

- source https://github.com/home-assistant/core/blob/dev/homeassistant/components/humidifier/__init__.py#L67-L71
- partially addresses feedback from #32480

* Undo formatting changes

* Update source/_integrations/humidifier.markdown

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update source/_integrations/humidifier.markdown

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
c0ffeeca7 2024-05-28 11:19:55 +02:00 committed by GitHub
parent be26c3f10c
commit 6e9344b1bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,15 @@ The `humidifier` integration is built for the controlling and monitoring of humi
{% include integrations/building_block_integration.md %}
## Device class
The way sensors are displayed in the {% term frontend %} can be modified in the [customize section](/docs/configuration/customizing-devices/). For example, if the device class is set to humidifier, the UI shows "Humidifying". If it is set to dehumidifier, it shows "Drying".
The following device classes are supported for humidifiers:
- **Humidifier**: Adds humidity to the air around it.
- **Dehumidifier**: Removes humidity from the air around it.
## Services
### Humidifier services