fix: translation and unit issues.

This commit is contained in:
sususweet
2025-09-25 11:45:46 +08:00
parent 40ba24c32a
commit c12158cd09
14 changed files with 2848 additions and 1137 deletions

View File

@@ -135,8 +135,7 @@ DEVICE_MAPPING = {
"state_class": SensorStateClass.MEASUREMENT
},
"error_code": {
"device_class": SensorDeviceClass.ENUM,
"state_class": SensorStateClass.MEASUREMENT
"device_class": SensorDeviceClass.ENUM
},
"humidity_set": {
"device_class": SensorDeviceClass.HUMIDITY,
@@ -178,8 +177,7 @@ DEVICE_MAPPING = {
"state_class": SensorStateClass.MEASUREMENT
},
"machine_type": {
"device_class": SensorDeviceClass.ENUM,
"state_class": SensorStateClass.MEASUREMENT
"device_class": SensorDeviceClass.ENUM
}
}
}