diff --git a/custom_components/google_photos/camera.py b/custom_components/google_photos/camera.py index e529db4..a6e0be7 100644 --- a/custom_components/google_photos/camera.py +++ b/custom_components/google_photos/camera.py @@ -125,6 +125,9 @@ def _handle_coordinator_update(self) -> None: self._attr_extra_state_attributes["media_contributor_info"] = ( media.get("contributorInfo") or {} ) + self._attr_extra_state_attributes["media_url"] = ( + media.get("productUrl") or {} + ) self.async_write_ha_state() def next_media(self, mode=None):