A Syncthing client.
Definition at line 80 of file __init__.py.
◆ __init__()
| def homeassistant.components.syncthing.SyncthingClient.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
client, |
|
|
|
server_id |
|
) |
| |
Initialize the client.
Definition at line 83 of file __init__.py.
◆ _listen()
| def homeassistant.components.syncthing.SyncthingClient._listen |
( |
|
self | ) |
|
|
private |
Listen to Syncthing events.
Definition at line 120 of file __init__.py.
◆ _server_available()
| def homeassistant.components.syncthing.SyncthingClient._server_available |
( |
|
self | ) |
|
|
private |
◆ database()
| def homeassistant.components.syncthing.SyncthingClient.database |
( |
|
self | ) |
|
Get database namespace client.
Definition at line 101 of file __init__.py.
◆ server_id()
| def homeassistant.components.syncthing.SyncthingClient.server_id |
( |
|
self | ) |
|
◆ subscribe()
| def homeassistant.components.syncthing.SyncthingClient.subscribe |
( |
|
self | ) |
|
Start event listener coroutine.
Definition at line 110 of file __init__.py.
◆ system()
| def homeassistant.components.syncthing.SyncthingClient.system |
( |
|
self | ) |
|
Get system namespace client.
Definition at line 106 of file __init__.py.
◆ unsubscribe()
| def homeassistant.components.syncthing.SyncthingClient.unsubscribe |
( |
|
self | ) |
|
Stop event listener coroutine.
Definition at line 114 of file __init__.py.
◆ url()
| def homeassistant.components.syncthing.SyncthingClient.url |
( |
|
self | ) |
|
◆ _client
| homeassistant.components.syncthing.SyncthingClient._client |
|
private |
◆ _hass
| homeassistant.components.syncthing.SyncthingClient._hass |
|
private |
◆ _listen_task
| homeassistant.components.syncthing.SyncthingClient._listen_task |
|
private |
◆ _server_id
| homeassistant.components.syncthing.SyncthingClient._server_id |
|
private |
The documentation for this class was generated from the following file: