Skip to content

Commit ec3d7bc

Browse files
committed
fix lint error
1 parent fe09784 commit ec3d7bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zha/application/platforms/sensor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ class Flow(Sensor):
11271127
_divisor = 10
11281128
_attr_native_unit_of_measurement = UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR
11291129

1130-
def formatter(self, value: int) -> int | None:
1130+
def formatter(self, value: int) -> int | float | str | None:
11311131
"""Handle unknown value state."""
11321132
if value == 0xFFFF:
11331133
return None

0 commit comments

Comments
 (0)