Module home_assistant_agent

Module home_assistant_agent 

Source
Expand description

Home Assistant integration agent.

HomeAssistantAgent connects to a local Home Assistant instance via its REST API and WebSocket event bus. It can query entity states, call services, and subscribe to state-change events.

Configuration is read from environment variables:

  • HA_URL — Home Assistant base URL (e.g. http://homeassistant.local:8123)
  • HA_TOKEN — Long-lived access token

Structs§

HomeAssistantAgent
Home Assistant agent.