Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.mqtt.models.EntityTopicState Class Reference

Public Member Functions

None __init__ (self)
 
None process_write_state_requests (self, MQTTMessage msg)
 
None write_state_request (self, Entity entity)
 

Detailed Description

Manage entity state write requests for subscribed topics.

Definition at line 353 of file models.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.mqtt.models.EntityTopicState.__init__ (   self)
Register topic.

Definition at line 356 of file models.py.

Member Function Documentation

◆ process_write_state_requests()

None homeassistant.components.mqtt.models.EntityTopicState.process_write_state_requests (   self,
MQTTMessage  msg 
)
Process the write state requests.

Definition at line 361 of file models.py.

◆ write_state_request()

None homeassistant.components.mqtt.models.EntityTopicState.write_state_request (   self,
Entity  entity 
)
Register write state request.

Definition at line 377 of file models.py.


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