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
4 Replies
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
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
Ah all good then, I was so worried I broke something for a sec lol