|
| None | _dispatch_tracker_event (self, str event_name, str tracker_id, dict[str, Any] payload) |
| |
| None | _listen (self) |
| |
| None | _send_hardware_update (self, dict[str, Any] event) |
| |
| None | _send_position_update (self, dict[str, Any] event) |
| |
| None | _send_switch_update (self, dict[str, Any] event) |
| |
| None | _send_wellness_update (self, dict[str, Any] event) |
| |
A Tractive client.
Definition at line 164 of file __init__.py.
◆ __init__()
| None homeassistant.components.tractive.TractiveClient.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
aiotractive.Tractive |
client, |
|
|
str |
user_id, |
|
|
ConfigEntry |
config_entry |
|
) |
| |
◆ _dispatch_tracker_event()
| None homeassistant.components.tractive.TractiveClient._dispatch_tracker_event |
( |
|
self, |
|
|
str |
event_name, |
|
|
str |
tracker_id, |
|
|
dict[str, Any]
|
payload |
|
) |
| |
|
private |
◆ _listen()
| None homeassistant.components.tractive.TractiveClient._listen |
( |
|
self | ) |
|
|
private |
◆ _send_hardware_update()
| None homeassistant.components.tractive.TractiveClient._send_hardware_update |
( |
|
self, |
|
|
dict[str, Any] |
event |
|
) |
| |
|
private |
◆ _send_position_update()
| None homeassistant.components.tractive.TractiveClient._send_position_update |
( |
|
self, |
|
|
dict[str, Any] |
event |
|
) |
| |
|
private |
◆ _send_switch_update()
| None homeassistant.components.tractive.TractiveClient._send_switch_update |
( |
|
self, |
|
|
dict[str, Any] |
event |
|
) |
| |
|
private |
◆ _send_wellness_update()
| None homeassistant.components.tractive.TractiveClient._send_wellness_update |
( |
|
self, |
|
|
dict[str, Any] |
event |
|
) |
| |
|
private |
◆ subscribe()
| None homeassistant.components.tractive.TractiveClient.subscribe |
( |
|
self | ) |
|
Start event listener coroutine.
Definition at line 209 of file __init__.py.
◆ subscribed()
| bool homeassistant.components.tractive.TractiveClient.subscribed |
( |
|
self | ) |
|
Return True if subscribed.
Definition at line 189 of file __init__.py.
◆ trackable_objects()
| list[aiotractive.trackable_object.TrackableObject] homeassistant.components.tractive.TractiveClient.trackable_objects |
( |
|
self | ) |
|
Get list of trackable objects.
Definition at line 196 of file __init__.py.
◆ tracker()
| aiotractive.tracker.Tracker homeassistant.components.tractive.TractiveClient.tracker |
( |
|
self, |
|
|
str |
tracker_id |
|
) |
| |
◆ unsubscribe()
| None homeassistant.components.tractive.TractiveClient.unsubscribe |
( |
|
self | ) |
|
Stop event listener coroutine.
Definition at line 213 of file __init__.py.
◆ user_id()
| str homeassistant.components.tractive.TractiveClient.user_id |
( |
|
self | ) |
|
◆ _client
| homeassistant.components.tractive.TractiveClient._client |
|
private |
◆ _config_entry
| homeassistant.components.tractive.TractiveClient._config_entry |
|
private |
◆ _hass
| homeassistant.components.tractive.TractiveClient._hass |
|
private |
◆ _last_hw_time
| homeassistant.components.tractive.TractiveClient._last_hw_time |
|
private |
◆ _last_pos_time
| homeassistant.components.tractive.TractiveClient._last_pos_time |
|
private |
◆ _listen_task
| homeassistant.components.tractive.TractiveClient._listen_task |
|
private |
◆ _user_id
| homeassistant.components.tractive.TractiveClient._user_id |
|
private |
The documentation for this class was generated from the following file: