mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Make sure entity config is never none (#24801)
This commit is contained in:
parent
0cde24e103
commit
0d89b82bff
@ -37,7 +37,7 @@ class GoogleConfig(AbstractConfig):
|
|||||||
@property
|
@property
|
||||||
def entity_config(self):
|
def entity_config(self):
|
||||||
"""Return entity config."""
|
"""Return entity config."""
|
||||||
return self._config.get(CONF_ENTITY_CONFIG, {})
|
return self._config.get(CONF_ENTITY_CONFIG) or {}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def secure_devices_pin(self):
|
def secure_devices_pin(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user