Google Assistant: Create and pass context to service calls (#21551)

* Google Assistant: Create and pass context to service calls

* Refactor request data into separate object and pass to execute.
This commit is contained in:
Penny Wood authored and Paulus Schoutsen committed 2019-03-05 20:00:53 -08:00
1 parent fc1ee9be43
commit d1038ea79f
8 files changed
+345 -265

No files matched your search

@@ -236,7 +236,6 @@ class Cloud:
self._gactions_config = ga_h.Config(
should_expose=should_expose,
allow_unlock=self.prefs.google_allow_unlock,
agent_user_id=self.claims['cognito:username'],
entity_config=conf.get(CONF_ENTITY_CONFIG),
)