Google: Report all states on activating report state (#27312)
This commit is contained in:
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."""
|
||||
|
||||
Reference in new issue
Block a user