mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-06-21 23:30:03 +08:00
Fix specs (#929)
* fix: cuco.plug.cp2 voltage and power value ratio * fix: cgllc.airmonitor.s1 unit ppb * fix: roswan.waterpuri.lte01 tds unit * fix: lumi.relay.c2acn01 power consumption unit * fix: xiaomi.bhf_light.s1 fan level of ventilation * fix: error log
This commit is contained in:
@ -523,7 +523,11 @@ SPEC_PROP_TRANS_MAP: dict = {
|
||||
'entity': 'sensor',
|
||||
'state_class': SensorStateClass.MEASUREMENT
|
||||
},
|
||||
'voc-density': 'tvoc-density',
|
||||
'voc-density': {
|
||||
'device_class': SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS_PARTS,
|
||||
'entity': 'sensor',
|
||||
'state_class': SensorStateClass.MEASUREMENT
|
||||
},
|
||||
'battery-level': {
|
||||
'device_class': SensorDeviceClass.BATTERY,
|
||||
'entity': 'sensor',
|
||||
|
Reference in New Issue
Block a user