Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.devolo_home_control.subscriber.Subscriber Class Reference

Public Member Functions

None __init__ (self, str name, Callable callback)
 
None update (self, str message)
 

Public Attributes

 callback
 
 name
 

Detailed Description

Subscriber class for the publisher in mprm websocket class.

Definition at line 9 of file subscriber.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.devolo_home_control.subscriber.Subscriber.__init__ (   self,
str  name,
Callable  callback 
)
Initiate the subscriber.

Definition at line 12 of file subscriber.py.

Member Function Documentation

◆ update()

None homeassistant.components.devolo_home_control.subscriber.Subscriber.update (   self,
str  message 
)
Trigger hass to update the device.

Definition at line 17 of file subscriber.py.

Member Data Documentation

◆ callback

homeassistant.components.devolo_home_control.subscriber.Subscriber.callback

Definition at line 15 of file subscriber.py.

◆ name

homeassistant.components.devolo_home_control.subscriber.Subscriber.name

Definition at line 14 of file subscriber.py.


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