Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.withings.WithingsWebhookManager Class Reference

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
 

Detailed Description

Manager that manages the Withings webhooks.

Definition at line 200 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.withings.WithingsWebhookManager.__init__ (   self,
HomeAssistant  hass,
WithingsConfigEntry  entry 
)
Initialize webhook manager.

Definition at line 206 of file __init__.py.

Member Function Documentation

◆ register_webhook()

None homeassistant.components.withings.WithingsWebhookManager.register_webhook (   self,
Any  _ 
)
Register webhooks at Withings.

Definition at line 231 of file __init__.py.

◆ unregister_webhook()

None homeassistant.components.withings.WithingsWebhookManager.unregister_webhook (   self,
Any  _ 
)
Unregister webhooks at Withings.

Definition at line 216 of file __init__.py.

◆ withings_data()

WithingsData homeassistant.components.withings.WithingsWebhookManager.withings_data (   self)
Return Withings data.

Definition at line 212 of file __init__.py.

Member Data Documentation

◆ _register_lock

homeassistant.components.withings.WithingsWebhookManager._register_lock = asyncio.Lock()
staticprivate

Definition at line 204 of file __init__.py.

◆ _webhooks_registered [1/2]

bool homeassistant.components.withings.WithingsWebhookManager._webhooks_registered = False
staticprivate

Definition at line 203 of file __init__.py.

◆ _webhooks_registered [2/2]

homeassistant.components.withings.WithingsWebhookManager._webhooks_registered
private

Definition at line 229 of file __init__.py.

◆ entry

homeassistant.components.withings.WithingsWebhookManager.entry

Definition at line 209 of file __init__.py.

◆ hass

homeassistant.components.withings.WithingsWebhookManager.hass

Definition at line 208 of file __init__.py.


The documentation for this class was generated from the following file: