Public Member Functions | |
| def | __init__ (self, hass, secret, max_gps_accuracy, import_waypoints, waypoint_whitelist, region_mapping, events_only, mqtt_topic) |
| def | async_see (self, **data) |
| def | async_see_beacons (self, hass, dev_id, kwargs_param) |
| def | async_valid_accuracy (self, message) |
| def | set_async_see (self, func) |
Public Attributes | |
| async_see | |
| events_only | |
| hass | |
| import_waypoints | |
| max_gps_accuracy | |
| mobile_beacons_active | |
| mqtt_topic | |
| region_mapping | |
| regions_entered | |
| secret | |
| waypoint_whitelist | |
Private Attributes | |
| _pending_msg | |
Hold the current OwnTracks context.
Definition at line 217 of file __init__.py.
| def homeassistant.components.owntracks.OwnTracksContext.__init__ | ( | self, | |
| hass, | |||
| secret, | |||
| max_gps_accuracy, | |||
| import_waypoints, | |||
| waypoint_whitelist, | |||
| region_mapping, | |||
| events_only, | |||
| mqtt_topic | |||
| ) |
Initialize an OwnTracks context.
Definition at line 220 of file __init__.py.
| def homeassistant.components.owntracks.OwnTracksContext.async_see | ( | self, | |
| ** | data | ||
| ) |
Send a see message to the device tracker.
Definition at line 283 of file __init__.py.
| def homeassistant.components.owntracks.OwnTracksContext.async_see_beacons | ( | self, | |
| hass, | |||
| dev_id, | |||
| kwargs_param | |||
| ) |
Set active beacons to the current location.
Definition at line 288 of file __init__.py.
| def homeassistant.components.owntracks.OwnTracksContext.async_valid_accuracy | ( | self, | |
| message | |||
| ) |
Check if we should ignore this message.
Definition at line 245 of file __init__.py.
| def homeassistant.components.owntracks.OwnTracksContext.set_async_see | ( | self, | |
| func | |||
| ) |
Set a new async_see function.
Definition at line 275 of file __init__.py.
|
private |
Definition at line 242 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.async_see |
Definition at line 277 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.events_only |
Definition at line 240 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.hass |
Definition at line 232 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.import_waypoints |
Definition at line 237 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.max_gps_accuracy |
Definition at line 234 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.mobile_beacons_active |
Definition at line 235 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.mqtt_topic |
Definition at line 241 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.region_mapping |
Definition at line 239 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.regions_entered |
Definition at line 236 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.secret |
Definition at line 233 of file __init__.py.
| homeassistant.components.owntracks.OwnTracksContext.waypoint_whitelist |
Definition at line 238 of file __init__.py.