Merge pull request #30 from zy900906/master

传感器增加running_status
This commit is contained in:
sususweet
2025-10-13 23:10:07 +08:00
committed by GitHub
3 changed files with 10 additions and 1 deletions

View File

@@ -133,6 +133,9 @@ DEVICE_MAPPING = {
}
},
Platform.SENSOR: {
"running_status": {
"device_class": SensorDeviceClass.ENUM
},
"appointment_time": {
"device_class": SensorDeviceClass.DURATION,
"unit_of_measurement": UnitOfTime.MINUTES,

View File

@@ -626,6 +626,9 @@
}
},
"sensor": {
"running_status": {
"name": "Running Status"
},
"tank_status": {
"name": "Tank Status"
},
@@ -2352,4 +2355,4 @@
}
}
}
}
}

View File

@@ -626,6 +626,9 @@
}
},
"sensor": {
"running_status": {
"name": "运行状态"
},
"tank_status": {
"name": "水箱状态"
},