Add number platform (#36919)

* Added humidifiers

* Fixes

* Added number

* Added a section for Humidifier, sorted platforms

* Fixes

* Added unit and range

* Updated samples as suggested

* Added % to Current humidity

* Add blank lines around the section header.
This commit is contained in:
Indu Prakash 2025-01-15 13:53:55 -06:00 committed by GitHub
parent ca5bf536a6
commit 206bb49f8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ description: Instructions on how to set up VeSync switches, outlets, and fans wi
ha_category:
- Fan
- Light
- Number
- Switch
ha_release: 0.66
ha_iot_class: Cloud Polling
@ -17,10 +18,11 @@ ha_domain: vesync
ha_platforms:
- diagnostics
- fan
- humidifier
- light
- number
- sensor
- switch
- humidifier
ha_integration_type: integration
---
@ -30,11 +32,12 @@ The devices must be added to the VeSync App before this {% term integration %} c
The following platforms are supported:
- **light**
- **switch**
- **fan**
- **sensor**
- **humidifier**
- **light**
- **number**
- **sensor**
- **switch**
## Supported devices
@ -125,6 +128,18 @@ VeSync air purifiers will expose the following details depending on the features
| `night_light` | The current status of the night light (Core200S/Core400s) | off |
| `child_lock` | The current status of the child lock (Core200S/300s/400s) | off |
## Humidifier
Sensors and settings exposed by VeSync humidifiers.
| Sensor | Description | Example |
| ----------------------- | ---------------------------------------------------------------------------------- | --------- |
| `humidity` | Current humidity (in %) | 35 |
| Number | Description | Example |
| ----------------------- | ---------------------------------------------------------------------------------- | --------- |
| `mist_level` | Mist level intensity (Range: 1-9, Step: 1) | 1 |
## Extracting attribute data
In order to get the attributes readings from supported devices, such as voltage from outlets or fan attributes, you'll have to create a [template sensor](/integrations/template#state-based-template-sensors/).