This commit is contained in:
Andrey
2021-02-18 09:27:40 +03:00
parent fcce9dcfc1
commit 358d29f8fd
3 changed files with 22 additions and 15 deletions

View File

@@ -48,6 +48,8 @@ class BaseMegaEntity(CoordinatorEntity, RestoreEntity):
index=None,
):
super().__init__(mega.updater)
if self.http_cmd == 'ds2413':
self.mega.ds2413_ports |= {self.port}
self._state: State = None
self.port = port
self.config_entry = config_entry