mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 00:54:28 +05:00
.
This commit is contained in:
@@ -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