deCONZ dependency exports type hints (#70449)

This commit is contained in:
Robert Svensson 2022-04-23 07:27:47 +02:00 committed by GitHub
parent a29265e725
commit 678888c65f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 29 additions and 29 deletions

View file

@ -92,7 +92,7 @@ class DeconzFan(DeconzDevice, FanEntity):
@property
def is_on(self) -> bool:
"""Return true if fan is on."""
return self._device.speed != FAN_SPEED_OFF # type: ignore[no-any-return]
return self._device.speed != FAN_SPEED_OFF
@property
def percentage(self) -> int | None: