github joshuar/go-hass-agent v13.0.0

latest releases: v13.3.3, v13.3.2, v13.3.1...
6 months ago

13.0.0 (2025-03-01)

The freshly baked v13 🍞

Notable new notes

  • There are now two more sensors for tracking when a webcam or microphone is being used on the system running Go Hass Agent. This will hopefully be useful for security and/or automations such as setting up lighting/devices for streaming or audio/video calls.

Script sensor schedule breaking changes

  • A new scheduler implementation has been merged that all scheduled tasks will use internally. The script sensor code is already using it.
  • Most script sensors should continue to work without any changes required.
  • Some previous, more esoteric Cron expression are no longer supported. See the README for current supported expressions and the BREAKING CHANGES for actions required if your script sensors stop working.

⚠ BREAKING CHANGES

  • scripts: script sensors are now run using a new scheduler backend. The scheduling is still based on cron schedule strings but some more complex/esoteric schedule strings may no longer work.

Features

  • ✨ add a job scheduler (281c03c)
  • linux: ⚡ use a common struct to manage rate sensor values (7bbbedb)
  • linux/media: ✨ add webcam and mic in use sensors (46f2ad8)
  • models: ✨ start implementing various types and objects with openapi-codegen (ba96a3e)
  • scheduler: ✨ implement a poll trigger with jitter (26b3d99)
  • scripts: 💥 use scheduler for scripts (1c4e8dd)

Bug Fixes

  • 🔥 fix missed worker conversions (6b37417)
  • 🚨 fix more linter warnings (a563eec)
  • hass: 🐛 actually update local registration on sensor registration (17e8966)
  • hass: 🐛 better handling of initial case where HA config has no entity status (7156ec9)
  • hass: 🐛 ensure authorization request header is set and url format is valid (6969547)
  • hass/api: 🐛 correct display of error code returned from Home Assistant Rest API (82966ab)
  • linux/battery: 🚨 clean-up code from linter warnings (b901c65)
  • linux/cpu: 🚨 clean-up code from linter warnings (8dda011)
  • linux/desktop: clean-up code from linter warnings (be848db)
  • linux/media: 🐛 fix preferences location for media sensors (d8696b1)
  • models: 🐛 make sure device/state class are sent as strings to Home Assistant (5c83f9c)

Performance Improvements

  • agent: ♻️ combine sensor and event workers (b35bf98)
  • hass: ⚡ reduce number of requests per entity update (1ab7fad)

Don't miss a new go-hass-agent release

NewReleases is sending notifications on new releases.