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:
13
homeassistant/components/alexa/config.py
Normal file
13
homeassistant/components/alexa/config.py
Normal 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 {}
|
||||
Reference in New Issue
Block a user