Module ha_actuator

Module ha_actuator 

Source
Expand description

Home Assistant actuator agent stub.

HomeAssistantActuatorAgent is a reactive MQTT-triggered actuator that subscribes to one or more MQTT detection topics, optionally evaluates Home Assistant entity conditions, and calls HA services via a persistent WebSocket connection.

In the Python backend one instance is created per external automation:

DynamicAgent (sensor) → MQTT topic → HomeAssistantActuatorAgent → HA service call

§Current status

Stub pending HA WebSocket client implementation. The agent compiles, registers in the actor system, and logs every message it receives at DEBUG level. Full MQTT subscription, condition evaluation, and HA service calls will be layered on top once the Rust HA WebSocket client is available.

Structs§

HomeAssistantActuatorAgent
Reactive actuator that subscribes to MQTT topics and calls HA services.