Make sure entity config is never none (#24801)
This commit is contained in:
parent
1f5e2fa3ce
commit
e39f0f3e25
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class GoogleConfig(AbstractConfig):
|
|||
@property
|
||||
def entity_config(self):
|
||||
"""Return entity config."""
|
||||
return self._config.get(CONF_ENTITY_CONFIG, {})
|
||||
return self._config.get(CONF_ENTITY_CONFIG) or {}
|
||||
|
||||
@property
|
||||
def secure_devices_pin(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue