Make sure entity config is never none (#24801)

This commit is contained in:
Paulus Schoutsen authored and David F. Mulcahey committed 2019-06-27 15:17:42 -04:00
1 parent 0cde24e103
commit 0d89b82bff
1 file changed
+1 -1
@@ -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):