fix: add PM2.5 threshold settings support for T0xFC(571Z3081)

This commit is contained in:
Cyborg2017
2026-01-16 22:08:02 +08:00
parent 9f6cf15763
commit 1f0b914d4d
3 changed files with 24 additions and 0 deletions

View File

@@ -105,6 +105,18 @@ DEVICE_MAPPING = {
"queries": [{}],
"centralized": [],
"entities": {
Platform.NUMBER: {
"hosting_upper": {
"min": 10,
"max": 75,
"step": 1
},
"hosting_lower": {
"min": 10,
"max": 75,
"step": 1
}
},
Platform.SWITCH: {
"power": {
"device_class": SwitchDeviceClass.SWITCH,

View File

@@ -2156,6 +2156,12 @@
}
},
"number": {
"hosting_upper": {
"name": "PM2.5 Upper(Auto Purification)"
},
"hosting_lower": {
"name": "PM2.5 Lower(Stop Purification)"
},
"steam_quantity": {
"name": "Steam Quantity"
},

View File

@@ -2450,6 +2450,12 @@
}
},
"number": {
"hosting_upper": {
"name": "PM2.5上阈值(自动净化)"
},
"hosting_lower": {
"name": "PM2.5下阈值(停止净化)"
},
"steam_quantity": {
"name": "蒸汽量"
},