mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-03 00:48:44 +05:00
.
This commit is contained in:
1 parent
a349cbd4a4
commit
ab599cd59d
1 file changed
+1
-1
@@ -129,7 +129,7 @@ class BaseMegaEntity(CoordinatorEntity, RestoreEntity):
|
||||
if self.hass is None:
|
||||
return {}
|
||||
if self._customize is None:
|
||||
c_entity_id = self.hass.data.get(DOMAIN, {}).get(self.entity_id, {})
|
||||
c_entity_id = self.hass.data.get(DOMAIN, {}).get('entities', {}).get(self.entity_id, {})
|
||||
c = self.hass.data.get(DOMAIN, {}).get(CONF_CUSTOM) or {}
|
||||
c = c.get(self._mega_id) or {}
|
||||
c = c.get(self.port) or {}
|
||||
|
||||
Reference in new issue
Block a user