feat: add device mapping for 000K86JB. Fix #72.

This commit is contained in:
sususweet
2025-12-20 00:15:18 +08:00
parent a25c14537e
commit 3619b06af1
5 changed files with 118 additions and 3 deletions

View File

@@ -275,7 +275,7 @@ DEVICE_MAPPING = {
},
Platform.NUMBER: {
"manul_humi_value": {
"device_class": NumberDeviceClass.HUMIDITY,
"device_class": SensorDeviceClass.HUMIDITY,
"min": 40,
"max": 70,
"step": 1,
@@ -283,7 +283,7 @@ DEVICE_MAPPING = {
"mode": "slider"
},
"auto_purifier_on_pm": {
"device_class": NumberDeviceClass.PM25,
"device_class": SensorDeviceClass.PM25,
"min": 75,
"max": 180,
"step": 1,