You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GeoRideHA/custom_components/georide/device_tracker.py

17 lines
348 B

5 years ago
""" device tracker for Georide object """
import logging
from homeassistant.core import callback
from homeassistant.const import (
ATTR_GPS_ACCURACY,
ATTR_LATITUDE,
ATTR_LONGITUDE,
ATTR_BATTERY_LEVEL,
)
from homeassistant.components.device_tracker.const import (
ENTITY_ID_FORMAT,
ATTR_SOURCE_TYPE,
SOURCE_TYPE_GPS,
)