Fix M1S-T500 update error (#169651)

This commit is contained in:
Midori Kochiya
2026-05-03 19:00:51 +02:00
committed by GitHub
parent 744e8ae324
commit c1c62e6313
@@ -143,10 +143,9 @@ SENSOR_DESCRIPTIONS = {
key=str(ExtendedSensorDeviceClass.SCORE),
state_class=SensorStateClass.MEASUREMENT,
),
# Counting during brushing
(ExtendedSensorDeviceClass.COUNTER, Units.TIME_SECONDS): SensorEntityDescription(
# Counter of brushing
(ExtendedSensorDeviceClass.COUNTER, None): SensorEntityDescription(
key=str(ExtendedSensorDeviceClass.COUNTER),
native_unit_of_measurement=UnitOfTime.SECONDS,
state_class=SensorStateClass.MEASUREMENT,
),
# Key id for locks and fingerprint readers