v4.1.1 Pre-release — Air Quality Monitor Support
🆕 New: Air Quality Monitor device type (devices.types.air_quality_monitor)
Devices like the H5140 Smart CO₂ Monitor are now fully supported. These are pure read-only sensor devices — no control capability needed. The following properties are automatically mapped:
| API Instance | HA Entity | Device Class | Unit |
|---|---|---|---|
carbonDioxideConcentration
| sensor | CO₂ | ppm |
sensorTemperature
| sensor | Temperature | °C |
sensorHumidity
| sensor | Humidity | % |
🆕 New: Air purifier sensor properties
Air purifiers (e.g. H7123) already work as fan entities. Their read-only property capabilities were previously silently dropped. They now surface as sensor entities alongside the fan:
| API Instance | HA Entity | Device Class | Unit |
|---|---|---|---|
airQuality
| sensor | AQI | — |
filterLifeTime
| sensor (diagnostic) | — | % |
filterLifeTime is marked as a diagnostic entity so it stays off the main device card.
🔔 Binary Sensor — expanded event map
The binary_sensor platform's event device class map now includes:
co2AlarmEvent→gasdevice classiceBucketFullEvent→problemdevice classiceTrayEmptyEvent→problemdevice class
(Ice maker event entities will appear automatically once ice maker device type support is added in a future release.)
Issues closed
Closes #131 (H5140 CO₂ Monitor), #7 (air purifier airQuality/filterLifeTime properties)