1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

Clean up Alexa smart home code (#24514)

* Clean up Alexa smart home code

* lint

* Lint

* Lint
This commit is contained in:
Paulus Schoutsen
2019-06-13 08:43:57 -07:00
committed by GitHub
parent 416ff10ba9
commit 7e2278f1cc
23 changed files with 3132 additions and 2776 deletions

View File

@@ -0,0 +1,13 @@
"""Config helpers for Alexa."""
class Config:
"""Hold the configuration for Alexa."""
def __init__(self, endpoint, async_get_access_token, should_expose,
entity_config=None):
"""Initialize the configuration."""
self.endpoint = endpoint
self.async_get_access_token = async_get_access_token
self.should_expose = should_expose
self.entity_config = entity_config or {}