Homeassistant
@magistr/homeassistantv2026.05.25.1
01README
Home Assistant integration for swamp — query entity states, call services, list and update automations, and fetch history and long-term sensor statistics over the REST and WebSocket APIs.
Model:
@magistr/homeassistant—list-entities,get-state,call-service,list-services,list-automations,get-automation-config,update-automation,get-history(JSON + CSV),get-statistics(long-term WebSocket aggregates), andbackfill-to-vm(bulk-import HA statistics into VictoriaMetrics).
Authenticates with a long-lived access token, supports http/https, and writes typed resources for every method so results are queryable as swamp data.
02Release Notes
Merge pull request #5 from umag/extensions/jscad-stl-pair
extensions: add 15 more @magistr extensions + auto-discover CI
03Models
@magistr/homeassistantv2026.05.25.1homeassistant.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| host | string | Home Assistant host (e.g., homeassistant.local) |
| token | string | Long-lived access token - use vault: ${{ vault.get(my-vault, HA_TOKEN) }} |
| protocol? | string | Protocol (http or https, default: https) |
04Stats
A
100 / 100
Downloads
2
Archive size
12.7 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/umag/swamp-workspace05Platforms
06Labels