Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| coordinator | |
| entity | |
| sensor | |
Functions | |
| None | _async_update_listener (HomeAssistant hass, ConfigEntry entry) |
| def | _device_id (data) |
| def | _set_entry_data (entry, hass, coordinator=None, device_id=None) |
| def | async_setup_coordinator (HomeAssistant hass, ConfigEntry entry) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| def | async_setup_webhook (HomeAssistant hass, ConfigEntry entry) |
| def | async_unload_coordinator (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| def | async_unload_platforms (HomeAssistant hass, ConfigEntry entry, platforms) |
| def | async_unload_webhook (HomeAssistant hass, ConfigEntry entry) |
| web.Response|None | handle_webhook (HomeAssistant hass, str webhook_id, web.Request request) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | DEPENDENCIES = ["webhook"] |
| string | SENSOR_DATA_KEY = f"{DOMAIN}.{SENSOR}" |
| string | SENSOR_UPDATE = f"{DOMAIN}_sensor_update" |
| WEBHOOK_SCHEMA | |
Support for Plaato devices.
|
private |
Handle options update.
Definition at line 182 of file __init__.py.
|
private |
Return name of device sensor.
Definition at line 205 of file __init__.py.
|
private |
Definition at line 134 of file __init__.py.
| def homeassistant.components.plaato.async_setup_coordinator | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Init auth token based on config entry.
Definition at line 114 of file __init__.py.
| bool homeassistant.components.plaato.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Configure based on config entry.
Definition at line 85 of file __init__.py.
| def homeassistant.components.plaato.async_setup_webhook | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Init webhook based on config entry.
Definition at line 102 of file __init__.py.
| def homeassistant.components.plaato.async_unload_coordinator | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload auth token based entry.
Definition at line 167 of file __init__.py.
| bool homeassistant.components.plaato.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 149 of file __init__.py.
| def homeassistant.components.plaato.async_unload_platforms | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| platforms | |||
| ) |
Unload platforms.
Definition at line 173 of file __init__.py.
| def homeassistant.components.plaato.async_unload_webhook | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload webhook based entry.
Definition at line 160 of file __init__.py.
| web.Response | None homeassistant.components.plaato.handle_webhook | ( | HomeAssistant | hass, |
| str | webhook_id, | ||
| web.Request | request | ||
| ) |
Handle incoming webhook from Plaato.
Definition at line 187 of file __init__.py.
|
private |
Definition at line 55 of file __init__.py.
| list homeassistant.components.plaato.DEPENDENCIES = ["webhook"] |
Definition at line 57 of file __init__.py.
| string homeassistant.components.plaato.SENSOR_DATA_KEY = f"{DOMAIN}.{SENSOR}" |
Definition at line 60 of file __init__.py.
| string homeassistant.components.plaato.SENSOR_UPDATE = f"{DOMAIN}_sensor_update" |
Definition at line 59 of file __init__.py.
| homeassistant.components.plaato.WEBHOOK_SCHEMA |
Definition at line 62 of file __init__.py.