We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe09784 commit ec3d7bcCopy full SHA for ec3d7bc
zha/application/platforms/sensor/__init__.py
@@ -1127,7 +1127,7 @@ class Flow(Sensor):
1127
_divisor = 10
1128
_attr_native_unit_of_measurement = UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR
1129
1130
- def formatter(self, value: int) -> int | None:
+ def formatter(self, value: int) -> int | float | str | None:
1131
"""Handle unknown value state."""
1132
if value == 0xFFFF:
1133
return None
0 commit comments