v9.4.0
9.4.0 (2024-06-17)
New Feature: Custom Command Support
The most notable change in this release is the preliminary support for using custom commands when MQTT configured! You can now specify scripts/executables/commands that should be run on the device when a button is pressed in Home Assistant. See the docs for details! Future releases will include support for more controls, such as switches and numbers!
There are also a number of under the hood fixes that should allow the agent to become more extensible in feature releases.
Features
- ✨ add a framework for allowing sensor workers to be start/stopped (988626a)
- agent: ✨ add framework for running user-defined commands via MQTT buttons/switches (61ff2af)
- agent: ✨ support ignore URLs registration option on command-line (17927ed)
Bug Fixes
- 🐛 make log-level argument an enum (abee169)
- 🐛 pass a context to worker creation functions (aeca410)
- agent: 🎨 mqtt commands clean-up (56c55d2)
- agent: 🐛 don't bail on registration if no preferences file was found but default preferences were returned (74b52f1)
- agent: 🐛 ensure sensor workers can remain running when running headless (4fd534b)
- agent: 🐛 hide worker failure log message behind debug logging as such failures are non-critical (3c4a4c5)
- hass: 💬 show a more informative error message when registration inputs validation fails (57876e4)
- linux: ✨ don't provide a location sensor when not running on a laptop device (acac8d7)
- preferences: 🐛 correctly detect default preferences as not a fatal error (3297099)
- translations: 🎨 ensure translator uses appropriate language (c0cd489)