mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add missing type hint in homematic (#145214)
This commit is contained in:
parent
366f592a8a
commit
cadbe885d1
@ -99,10 +99,10 @@ class HMDevice(Entity):
|
||||
|
||||
return attr
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Connect to HomeMatic init values."""
|
||||
if self._connected:
|
||||
return True
|
||||
return
|
||||
|
||||
# Initialize
|
||||
self._homematic = self.hass.data[DATA_HOMEMATIC]
|
||||
|
Loading…
x
Reference in New Issue
Block a user