Improve entity type hints [m] (#77816)
This commit is contained in:
parent
ce6e57da5d
commit
6355e682fa
24 changed files with 103 additions and 85 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue