Remove withings from mypy ignore list (#74966)
This commit is contained in:
parent
7c2bd319f1
commit
28a34a1f89
5 changed files with 8 additions and 23 deletions
|
@ -32,6 +32,6 @@ class WithingsHealthBinarySensor(BaseWithingsSensor, BinarySensorEntity):
|
|||
_attr_device_class = BinarySensorDeviceClass.OCCUPANCY
|
||||
|
||||
@property
|
||||
def is_on(self) -> bool:
|
||||
def is_on(self) -> bool | None:
|
||||
"""Return true if the binary sensor is on."""
|
||||
return self._state_data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue