Remove withings from mypy ignore list (#74966)

This commit is contained in:
epenet 2022-07-11 19:14:23 +02:00 committed by GitHub
parent 7c2bd319f1
commit 28a34a1f89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 23 deletions

View file

@ -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