HassAgent no longer starts up after restart

Have made no changes in the past months to the config, just restarted as my commands weren't working anymore and now this happens
No description
Solution:
Fixed in 2.1.0+
Jump to solution
7 Replies
barrelltitor
barrelltitorOP5mo ago
No description
barrelltitor
barrelltitorOP5mo ago
I deleted the appsettings.json, but it still won't work I re-did the setup and added the exact same appsettings and it worked, but when adding commands and sensors it broke and gave me both errors again 2024-09-07 18:48:05.725 +03:00 [ERR] [AUDIOMGR] failed to retrieve devices: Element not found. (0x80070490) System.Runtime.InteropServices.COMException (0x80070490): Element not found. (0x80070490) at HASS.Agent.Shared.Managers.Audio.AudioManager.GetDevices() in D:\a\HASS.Agent\HASS.Agent\src\HASS.Agent\HASS.Agent.Shared\Managers\Audio\AudioManager.cs:line 220 2024-09-07 18:48:07.739 +03:00 [ERR] [AUDIOMGR] failed to retrieve devices: Element not found. (0x80070490) Uuuh that is not a path on my disk Lol it was all because I unplugged my headphones
DrR0x
DrR0x5mo ago
yeah stilll a bug we need to fix but not surprised this happened, it was still trying to access the headphones after they were removed
barrelltitor
barrelltitorOP5mo ago
Ah all good then, I was so worried I broke something for a sec lol
DrR0x
DrR0x6d ago
@Amadeo, did this get fixed?
Amadeo
Amadeo5d ago
Yeah, with audio fixes
Solution
DrR0x
DrR0x5d ago
Fixed in 2.1.0+

Did you find this page helpful?