Functions | |
| DeviceModel|None | get_device (int device_id, list[DeviceModel] devices) |
| GeofenceModel|None | get_first_geofence (list[GeofenceModel] geofences, list[int] target) |
Helper functions for the Traccar Server integration.
| DeviceModel | None homeassistant.components.traccar_server.helpers.get_device | ( | int | device_id, |
| list[DeviceModel] | devices | ||
| ) |
Return the device.
Definition at line 8 of file helpers.py.
| GeofenceModel | None homeassistant.components.traccar_server.helpers.get_first_geofence | ( | list[GeofenceModel] | geofences, |
| list[int] | target | ||
| ) |
Return the geofence.
Definition at line 16 of file helpers.py.