Cloud conf (#18216)
* Add original config to entityfilter * Add alexa/google config to cloud status call * Lint
This commit is contained in:
parent
8de79ed57c
commit
bf54582d76
5 changed files with 74 additions and 20 deletions
|
@ -122,7 +122,7 @@ class Cloud:
|
|||
self.hass = hass
|
||||
self.mode = mode
|
||||
self.alexa_config = alexa
|
||||
self._google_actions = google_actions
|
||||
self.google_actions_user_conf = google_actions
|
||||
self._gactions_config = None
|
||||
self._prefs = None
|
||||
self.id_token = None
|
||||
|
@ -180,7 +180,7 @@ class Cloud:
|
|||
def gactions_config(self):
|
||||
"""Return the Google Assistant config."""
|
||||
if self._gactions_config is None:
|
||||
conf = self._google_actions
|
||||
conf = self.google_actions_user_conf
|
||||
|
||||
def should_expose(entity):
|
||||
"""If an entity should be exposed."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue