Namespaces | |
| config_flow | |
| const | |
| device_tracker | |
Functions | |
| str | _id (str value) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| web.Response | handle_webhook (HomeAssistant hass, str webhook_id, web.Request request) |
Variables | |
| async_remove_entry = config_entry_flow.webhook_async_remove_entry | |
| int | DEFAULT_ACCURACY = 200 |
| int | DEFAULT_BATTERY = -1 |
| list | PLATFORMS = [Platform.DEVICE_TRACKER] |
| string | TRACKER_UPDATE = f"{DOMAIN}_tracker_update" |
| WEBHOOK_SCHEMA | |
Support for GPSLogger.
|
private |
Coerce id by removing '-'.
Definition at line 37 of file __init__.py.
| bool homeassistant.components.gpslogger.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Configure based on config entry.
Definition at line 92 of file __init__.py.
| bool homeassistant.components.gpslogger.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 104 of file __init__.py.
| web.Response homeassistant.components.gpslogger.handle_webhook | ( | HomeAssistant | hass, |
| str | webhook_id, | ||
| web.Request | request | ||
| ) |
Handle incoming webhook with GPSLogger request.
Definition at line 58 of file __init__.py.
| homeassistant.components.gpslogger.async_remove_entry = config_entry_flow.webhook_async_remove_entry |
Definition at line 111 of file __init__.py.
| int homeassistant.components.gpslogger.DEFAULT_ACCURACY = 200 |
Definition at line 33 of file __init__.py.
| int homeassistant.components.gpslogger.DEFAULT_BATTERY = -1 |
Definition at line 34 of file __init__.py.
| list homeassistant.components.gpslogger.PLATFORMS = [Platform.DEVICE_TRACKER] |
Definition at line 28 of file __init__.py.
| string homeassistant.components.gpslogger.TRACKER_UPDATE = f"{DOMAIN}_tracker_update" |
Definition at line 30 of file __init__.py.
| homeassistant.components.gpslogger.WEBHOOK_SCHEMA |
Definition at line 42 of file __init__.py.