feat: add device support for T0x13.

This commit is contained in:
sususweet
2025-10-14 20:29:35 +08:00
parent b1e42526f6
commit 187c46168c
9 changed files with 380 additions and 62 deletions

View File

@@ -182,12 +182,12 @@ DEVICE_MAPPING = {
"water_consumption_today": {
"device_class": SensorDeviceClass.VOLUME,
"unit_of_measurement": UnitOfVolume.LITERS,
"state_class": SensorStateClass.MEASUREMENT
"state_class": SensorStateClass.TOTAL_INCREASING
},
"water_consumption_average": {
"device_class": SensorDeviceClass.VOLUME,
"unit_of_measurement": UnitOfVolume.LITERS,
"state_class": SensorStateClass.MEASUREMENT
"state_class": SensorStateClass.TOTAL_INCREASING
},
"soft_available_big": {
"device_class": SensorDeviceClass.VOLUME,