Skip to content

v10.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Nov 04:12
5478e7b

10.4.0 (2024-10-31)

New Feature: Events 🔈

Go Hass Agent can now send events to Home Assistant. Events better encapsulate data where stats and history are not interesting, only the timing when the data occurs. This release adds events for user login/logouts (requires D-Bus and systemd-logind support), so you can set up automations in Home Assistant that react to those events. See the README for more details and the format of the data of each event.

New Feature: Sensor/events/controls Preferences 🎛️

Go Hass Agent now exposes user-configurable preferences for some sensors, events and controls. For example, you can now filter which network devices will create network rate/total sensors and you can completely disable the external IP address sensor if desired. More preferences coming in later releases. See the Sensors/Controls/Events list in the README which ones have preferences. For now, this requires editing toml files, but a future user-interface is planned!

Features Summary

  • agent: ✨ add an interface to represent a worker with preferences for future use (446857e)
  • agent: ✨ implement event controller for event workers in agent (c1d2033)
  • agent/sensor: ✨ add preference to disable external ip sensor if desired (17f8d97)
  • hass: ✨ add support for sending events to Home Assistant (6debf7e)
  • linux: ✨ add session events (61b87e6)
  • linux: ✨ add tracking stats from chronyd as sensors (3de2c09)
  • linux: ✨ add user preference to define devices to ignore for network rates sensors (c36e14e)
  • linux/media: ✨ support user preferences for camera worker (fef5dd9)
  • linux/net: ✨ filter on user-defined network devices for networkmanger connection state sensors (77e3372)
  • preferences: ✨ provide a worker preference to completely disable the worker (and its sensors/events/controls) (23c940b)
  • preferences: ✨ support worker preferences (c7c49ac)

Bug Fixes

  • hass: 🐛 fix validation of event requests (d95955e)
  • hass: 🐛 rework marshaling of sensor requests (1c579d9)
  • linux: 🐛 for ignored devices, ensure their stats are still tracked as part of the total network rate sensors (468f692)

Performance Improvements

  • ⚡ share a validator instance across packages (81bf9e8)
  • agent: ⚡ rework controller/worker concept (8bca59f)
  • hass: ⚡ rework sending requests (a8cd590)