github joshuar/go-hass-agent v9.1.0

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

9.1.0 (2024-05-18)

This release fixes a significant number of small bugs and issues in the agent. It also contains a semi-breaking change for container users. If you run Go Hass Agent in a container, note that you should now map /home/ubuntu to a volume, rather than /home/gouser. This is due to changing the base image to ubuntu. the advantage of this is a much smaller image.

If you use the agent from the command-line. Note that you should now specify the run parameter, so go-hass-agent run will start the agent. The installed systemd scripts and desktop files have been updated already.

Features

  • agent: 🏗️ start creating the framework for more efficient sensor updates (2b98a89)
  • agent: ✨ initial migration from cobra to kong (e93f733)
  • dbusx: ✨ new function for simpler watch creation (91cd040)
  • linux: ✨ detect machine chassis type (c5ac91a)
  • linux: ✨ new improved laptop sensors for lid closed state, docked state and external power connected state (c6ca2b6)

Bug Fixes

  • agent: 🐛 enable more profiling options (0717f92)
  • agent: 🐛 ensure a default app ID is set when not specified (e5c7265)
  • agent: 🐛 ensure log level is set appropriately on start (a00c742)
  • agent: 🐛 if no GUI detected, default to running headless (and show a warning) (6f9469d)
  • agent: 🐛 if we cannot fetch the Home Assistant config, don't display its details on about window (2241450)
  • agent: 🐛 return nil if cannot fetch Home Assistant config (e731aa2)
  • agent: 💄 merge the preferences submenu back into the main menu of the tray icon (097c35e)
  • agent: ⚡ better handling of sensor channels (f3724df)
  • container: 🐛 use correct run command in container (2f42ee8)
  • container: ✨ better container defaults (and docs updates to match) (e9a3cb7)
  • hass: 🐛 catch potential nil panic from error condition and handle appropriately (a7a6dec)
  • linux: 🐛 avoid sending on closed channel (cbf95fc)
  • linux: 🐛 better problematic battery handling to avoid nil panics (cda8403)
  • linux: 🐛 detect and warn on unrecognised wifi properties (6e12013)
  • linux: 🐛 keep device id constant for MQTT (fcea433)
  • linux: 🐛 power profile sensor should work again (73f71d2)
  • linux: 🐛 shutdown connection state monitor gracefully (db2d165)
  • linux: 🐛 source distro information from /etc/os-release for registration (a8d76c6)
  • linux: 🔥 remove deprecated channel close (ab277af)
  • linux: 🔥 remove unreleased idle sensor updater (28d23e3)
  • linux: 🔒 as per recommendations, don't use the actual device id, generate a random one (5d69005)
  • linux: ⚡ detect if we have a lid, don't bother monitoring if we don't (61c64b6)
  • linux: ⚡ gracefully close pulseaudio connection on shutdown (8df123e)
  • linux: ⚡ gracefully shutdown mqtt message channel (8d06d9e)
  • linux/proc: 🐛 handle unable to split /proc/diskstats (7300ac9)

Performance Improvements

  • linux: ⚡ send cpu load/usage state on start (a1ea881)
  • linux: ⚡ utilise new D-Bus helper function for watching app state (fe41e91)

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

NewReleases is sending notifications on new releases.