-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Maps Static API in the Generic Camera platform broken #93566
Comments
Hey there @davet2001, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) generic documentation |
I can reproduce this on 2023.5.4 on an RPi 4. I'm pretty sure that it's something to do with the | (pipe) characters in the URL you posted, which should be encoded as %7C. When I try your string which includes literal pipe characters: It doesn't work on 2023.5.4, but when I try this string which swaps them for %7C, it works: Between 2023.5.3 and 2023.5.4 httpx was upgraded from 0.24.0 to 0.24.1 in #93396 Oddly I can't reproduce the problem by running 2023.5.4 on my desktop dev machine. @mikulik86 Please can you try using %7C instead of pipe characters and see if that fixes the issue? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
Since last release the map picture fetched with the generic camera integration (as described here: https://www.home-assistant.io/examples/google_maps_card) is missing a map marker.
Before:
After:
Used URL:
https://maps.googleapis.com/maps/api/staticmap?center=50.36069647591754,14.476514889982804&zoom=18&size=493x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C50.36069647591754,14.476514889982804&style=feature:poi|element:labels|visibility:off&key=API_KEY
What version of Home Assistant Core has the issue?
core-2023.5.4
What was the last working version of Home Assistant Core?
core-2023.5.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Generic Camera platform
Link to integration documentation on our website
https://www.home-assistant.io/integrations/generic
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: