mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 19:55:10 +02:00
Add missing type hint in homematic (#145214)
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user