Don't use storage collection helper in ExposedEntities (#92396)
* Don't use storage collection helper in ExposedEntities * Fix tests
This commit is contained in:
parent
7aa94f97c0
commit
4860a8d1e8
31 changed files with 248 additions and 299 deletions
|
@ -111,7 +111,7 @@ class GoogleConfig(AbstractConfig):
|
|||
"""Return if states should be proactively reported."""
|
||||
return self._config.get(CONF_REPORT_STATE)
|
||||
|
||||
async def should_expose(self, state) -> bool:
|
||||
def should_expose(self, state) -> bool:
|
||||
"""Return if entity should be exposed."""
|
||||
expose_by_default = self._config.get(CONF_EXPOSE_BY_DEFAULT)
|
||||
exposed_domains = self._config.get(CONF_EXPOSED_DOMAINS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue