H
other-emerald
Having trouble getting started with HASS Agent Quick Actions
Installed HASS Agent and configured to bind hotkey to an entity button press..
But im getting an error which i dont know what to do with... any help?
[INF] [MAIN] HASS.Agent version: 2.1.1
[INF] [MAIN] Extended logging enabled
[INF] [SETTINGS] Config storage path: C:\Users\axa88\AppData\Local\HASS.Agent\Client\config
[INF] [SETTINGS] Configuration loaded
[INF] [LOCALIZATION] Selected UI culture: [en] English
[DBG] [RADIOMGR] Initialization started
[INF] [RADIOMGR] Radio management permission granted
[DBG] [RADIOMGR] Enumerating proximity/NFC devices
[INF] [RADIOMGR] Ready
[INF] [INTERNALSENSORS] Ready
[INF] [VIRTDESKT] Virtual Desktop Manager initialized
[DBG] [AUDIOMGR] initializing
[INF] [AUDIOMGR] initialized
[INF] [SETTINGS_QUICKACTIONS] Loaded 2 entities
[INF] [SETTINGS_COMMANDS] Config not found, no entities loaded
[INF] [SETTINGS_SENSORS] Config not found, no entities loaded
[INF] [LOCALAPI] Disabled
[INF] [HOTKEY] Completed bind for global quickaction hotkey
[INF] [HOTKEY] Completed bind for 2 individual quickaction hotkeys
[INF] [HASS_API] Connecting using automatic client certificate selection
[INF] [MQTT] Disabled through settings
[INF] [MEDIA] Disabled
[ERR] [SERVICE] Unable to retrieve install path from service, and default path not found
[INF] [NOTIFIER] Disabled
4 Replies
other-emeraldOP•4w ago
[INF] [HASS_API] Home Assistant version: 2025.5.3
[INF] [HASS_API] System connected with http://192.168.1.250:8123
[INF] [HASS_API] [scene.the_frame_art_mode] Performing action: press
[FTL] [NET] FirstChanceHttpRequestException: Response status code does not indicate success: 400 (Bad Request).
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at HADotNet.Core.BaseClient.Post[T](String path, Object body, Boolean isRawBody)
24.598 [FTL] [HASS_API] [scene.the_frame_art_mode] Error while processing action: Response status code does not indicate success: 400 (Bad Request).
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at HADotNet.Core.BaseClient.Post[T](String path, Object body, Boolean isRawBody)
at HADotNet.Core.Clients.ServiceClient.CallService(String serviceName, String fields)
at HASS.Agent.HomeAssistant.HassApiManager.ProcessActionAsync(HassEntity entity, HassAction action) in D:\a\HASS.Agent\HASS.Agent\src\HASS.Agent\HASS.Agent\HomeAssistant\HassApiManager.cs:line 497
other-emeraldOP•3w ago
Doesn't this mean anything to anyone?
i dont understand the errors, but can you explain what youre trying to do? i might be able to help. i'm no dev but i'm a somewhat advanced user 😅
other-emeraldOP•3w ago
So I pulled the repo and ran in debug and found the exceptions were thrown whenever there was a mismatch between the type of action chosen to execute the entity type...
Meaning, for example when I bound a hotkey to a Automation entity, I had to use the Trigger action, rather than a Press action.
On the surface it seems really sloppy that the UI would allow you to select an action type that isn't valid for the entity type, but maybe there's something im missing.
Match the types and the exceptions to away.
Thanks for the reply