Namespaces | |
| config_flow | |
| sensor | |
Functions | |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| None | update_listener (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| string | DOMAIN = "statistics" |
| list | PLATFORMS = [Platform.SENSOR] |
The statistics component.
| bool homeassistant.components.statistics.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up Statistics from a config entry.
Definition at line 14 of file __init__.py.
| bool homeassistant.components.statistics.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload Statistics config entry.
Definition at line 29 of file __init__.py.
| None homeassistant.components.statistics.update_listener | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Handle options update.
Definition at line 34 of file __init__.py.
| string homeassistant.components.statistics.DOMAIN = "statistics" |
Definition at line 10 of file __init__.py.
| list homeassistant.components.statistics.PLATFORMS = [Platform.SENSOR] |
Definition at line 11 of file __init__.py.