Public Member Functions | |
| None | __init__ (self, HomeAssistant hass) |
| str|None | async_accept_grant (self, str code) |
| None | async_deinitialize (self) |
| None | async_disable_proactive_mode (self) |
| None | async_enable_proactive_mode (self) |
| str|None | async_get_access_token (self) |
| None | async_initialize (self) |
| None | async_invalidate_access_token (self) |
| bool | authorized (self) |
| str|URL|None | endpoint (self) |
| dict[str, Any] | entity_config (self) |
| str | generate_alexa_id (self, str entity_id) |
| bool | is_reporting_states (self) |
| str|None | locale (self) |
| None | set_authorized (self, bool authorized) |
| bool | should_expose (self, str entity_id) |
| bool | should_report_state (self) |
| bool | supports_auth (self) |
| str | user_identifier (self) |
Public Attributes | |
| hass | |
Static Public Attributes | |
| None | |
Private Attributes | |
| _enable_proactive_mode_lock | |
| _store | |
| _unsub_proactive_report | |
| None homeassistant.components.alexa.config.AbstractConfig.__init__ | ( | self, | |
| HomeAssistant | hass | ||
| ) |
| str | None homeassistant.components.alexa.config.AbstractConfig.async_accept_grant | ( | self, | |
| str | code | ||
| ) |
Accept a grant.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| None homeassistant.components.alexa.config.AbstractConfig.async_deinitialize | ( | self | ) |
| None homeassistant.components.alexa.config.AbstractConfig.async_disable_proactive_mode | ( | self | ) |
| None homeassistant.components.alexa.config.AbstractConfig.async_enable_proactive_mode | ( | self | ) |
| str | None homeassistant.components.alexa.config.AbstractConfig.async_get_access_token | ( | self | ) |
Get an access token.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| None homeassistant.components.alexa.config.AbstractConfig.async_initialize | ( | self | ) |
| None homeassistant.components.alexa.config.AbstractConfig.async_invalidate_access_token | ( | self | ) |
Invalidate access token.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| bool homeassistant.components.alexa.config.AbstractConfig.authorized | ( | self | ) |
| str | URL | None homeassistant.components.alexa.config.AbstractConfig.endpoint | ( | self | ) |
Endpoint for report state.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| dict[str, Any] homeassistant.components.alexa.config.AbstractConfig.entity_config | ( | self | ) |
Return entity config.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| str homeassistant.components.alexa.config.AbstractConfig.generate_alexa_id | ( | self, | |
| str | entity_id | ||
| ) |
| bool homeassistant.components.alexa.config.AbstractConfig.is_reporting_states | ( | self | ) |
| str | None homeassistant.components.alexa.config.AbstractConfig.locale | ( | self | ) |
Return config locale.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| None homeassistant.components.alexa.config.AbstractConfig.set_authorized | ( | self, | |
| bool | authorized | ||
| ) |
| bool homeassistant.components.alexa.config.AbstractConfig.should_expose | ( | self, | |
| str | entity_id | ||
| ) |
If an entity should be exposed.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| bool homeassistant.components.alexa.config.AbstractConfig.should_report_state | ( | self | ) |
Return if states should be proactively reported.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| bool homeassistant.components.alexa.config.AbstractConfig.supports_auth | ( | self | ) |
Return if config supports auth.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
| str homeassistant.components.alexa.config.AbstractConfig.user_identifier | ( | self | ) |
Return an identifier for the user that represents this config.
Reimplemented in homeassistant.components.alexa.smart_home.AlexaConfig.
|
private |
|
private |
|
private |
|
static |