deCONZ dependency exports type hints (#70449)
This commit is contained in:
parent
a29265e725
commit
678888c65f
14 changed files with 29 additions and 29 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue