Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.acmeda.hub.PulseHub Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, ConfigEntry config_entry)
 
None async_notify_update (self, aiopulse.UpdateType update_type)
 
bool async_reset (self)
 
bool async_setup (self, int tries=0)
 
str host (self)
 
str title (self)
 

Public Attributes

 api
 
 config_entry
 
 hass
 

Detailed Description

Manages a single Pulse Hub.

Definition at line 18 of file hub.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.acmeda.hub.PulseHub.__init__ (   self,
HomeAssistant  hass,
ConfigEntry  config_entry 
)
Initialize the system.

Definition at line 23 of file hub.py.

Member Function Documentation

◆ async_notify_update()

None homeassistant.components.acmeda.hub.PulseHub.async_notify_update (   self,
aiopulse.UpdateType  update_type 
)
Evaluate entities when hub reports that update has occurred.

Definition at line 71 of file hub.py.

◆ async_reset()

bool homeassistant.components.acmeda.hub.PulseHub.async_reset (   self)
Reset this hub to default state.

Definition at line 51 of file hub.py.

◆ async_setup()

bool homeassistant.components.acmeda.hub.PulseHub.async_setup (   self,
int   tries = 0 
)
Set up a hub based on host parameter.

Definition at line 41 of file hub.py.

◆ host()

str homeassistant.components.acmeda.hub.PulseHub.host (   self)
Return the host of this hub.

Definition at line 37 of file hub.py.

◆ title()

str homeassistant.components.acmeda.hub.PulseHub.title (   self)
Return the title of the hub shown in the integrations list.

Definition at line 32 of file hub.py.

Member Data Documentation

◆ api

homeassistant.components.acmeda.hub.PulseHub.api

Definition at line 43 of file hub.py.

◆ config_entry

homeassistant.components.acmeda.hub.PulseHub.config_entry

Definition at line 25 of file hub.py.

◆ hass

homeassistant.components.acmeda.hub.PulseHub.hass

Definition at line 26 of file hub.py.


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