-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: notification image and uri #306
Comments
Hello, Regarding 1: Regarding 2: |
Hi. The url image doesn't load when using a browser window (normal or private). I can view the image when using the url AND a bearer token in a rest client like this one: https://github.com/rangav/thunder-client-support. Thanks for pointing me in the right direction for question 2. Cheers. |
We'd have to download the resource whilst also providing the bearer token and then pass it on to the notification library, I'll see how Companion App does this (probably using the logon bearer token when resource URL matches the HA server address/hostname) and if it'd be viable to replicate. |
Ok, doable, will be done as part of LAB02-Research/HASS.Agent.Staging#18 |
Done, all URIs having the same domain name as HA configured within HASS.Agent will use the stored token for authentication. |
Describe the bug
Hi. I came across two issues with notifications. Not sure if they are bugs or new feature requests. Thanks for your time on this.
1- I tried to add a notification image from my nest doorbell, following the directions here: https://www.home-assistant.io/integrations/nest/#media-source. The image works as expected in the android app, but not with hass.agent. It looks like api authentication isn't working when trying to display "/api/nest/event_media/DEVICE_ID/EVENT_ID/thumbnail". Relevant logs are pasted below.
2 - I tried to create a notification button to open a website. I see the button click event when listening for hass_agent_notifications in home assistant. However the webpage isn't opening in my Windows browser. I have a browser set in hass.agent config, and it launches normally when clicking the test button. No hass.agent logs are generated for this event.
Misc info (please complete the following information):
winver.exe
output): Version 21H2 (OS Build 19044.2846)Please check what's applicable (multiple answers possible):
Logs
The text was updated successfully, but these errors were encountered: