codingcyclist / ha_strava

Pipe your Activity Data from Strava directly into Home Assistant
MIT License
76 stars 29 forks source link

Can't retrieve photos #29

Open WayeeWang opened 3 years ago

WayeeWang commented 3 years ago

With "camera.strava_cam", as shown in the example, I couldn't seem to get any pictures back. Is this sensor still working as expected?

skjeldgaard commented 2 years ago

Any hints on this one? Having the same issue.

moseisleydk commented 2 years ago

Same here :-(

Fleshi1981 commented 2 years ago

Since the latest update from Home Assistant to version 2022.4.1 I can't retrieve the photos of Strava anaymore. The entity camera.strava_cam probably doesn't work anymore. Does anyone of you have same the problem and maybe a solution?

badguy99 commented 2 years ago

I've raise a PR with a fix for this on a different fork - https://github.com/madmic1314/ha_strava/pull/12 - you can copy the diff to your code if needed

moseisleydk commented 2 years ago

Replacing the file works fine, thanks @badguy99

Fleshi1981 commented 2 years ago

Replacing the file works fine, thanks @badguy99

Maybe a stupid question 😶, but which file did you replaced?

badguy99 commented 2 years ago

the camera.py file. This is the updated one from my PR on the other repo - https://github.com/madmic1314/ha_strava/blob/f4e15f78f01085b9db2ec33bc32c9b3da9da2e62/custom_components/ha_strava/camera.py