Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, WithingsConfigEntry entry) |
| None | register_webhook (self, Any _) |
| None | unregister_webhook (self, Any _) |
| WithingsData | withings_data (self) |
Public Attributes | |
| entry | |
| hass | |
Private Attributes | |
| _webhooks_registered | |
Static Private Attributes | |
| _register_lock = asyncio.Lock() | |
| bool | _webhooks_registered = False |
Manager that manages the Withings webhooks.
Definition at line 200 of file __init__.py.
| None homeassistant.components.withings.WithingsWebhookManager.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| WithingsConfigEntry | entry | ||
| ) |
Initialize webhook manager.
Definition at line 206 of file __init__.py.
| None homeassistant.components.withings.WithingsWebhookManager.register_webhook | ( | self, | |
| Any | _ | ||
| ) |
Register webhooks at Withings.
Definition at line 231 of file __init__.py.
| None homeassistant.components.withings.WithingsWebhookManager.unregister_webhook | ( | self, | |
| Any | _ | ||
| ) |
Unregister webhooks at Withings.
Definition at line 216 of file __init__.py.
| WithingsData homeassistant.components.withings.WithingsWebhookManager.withings_data | ( | self | ) |
Return Withings data.
Definition at line 212 of file __init__.py.
|
staticprivate |
Definition at line 204 of file __init__.py.
|
staticprivate |
Definition at line 203 of file __init__.py.
|
private |
Definition at line 229 of file __init__.py.
| homeassistant.components.withings.WithingsWebhookManager.entry |
Definition at line 209 of file __init__.py.
| homeassistant.components.withings.WithingsWebhookManager.hass |
Definition at line 208 of file __init__.py.