Improve entity type hints [m] (#77816)

This commit is contained in:
epenet 2022-09-05 10:59:36 +02:00 committed by GitHub
parent ce6e57da5d
commit 6355e682fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 103 additions and 85 deletions

View file

@ -215,7 +215,7 @@ class MeaterProbeTemperature(
return self.entity_description.value(device)
@property
def available(self):
def available(self) -> bool:
"""Return if entity is available."""
# See if the device was returned from the API. If not, it's offline
return (