Google: Report all states on activating report state (#27312)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-10-08 09:58:36 -07:00
1 parent 0cfd0388d6
commit a51e0d7a5f
3 files changed
+54 -6

No files matched your search

@@ -182,6 +182,11 @@ class GoogleEntity:
]
return self._traits
@callback
def should_expose(self):
"""If entity should be exposed."""
return self.config.should_expose(self.state)
@callback
def is_supported(self) -> bool:
"""Return if the entity is supported by Google."""