348 files

This commit is contained in:
Home Assistant Version Control
2026-07-23 19:02:12 +00:00
parent 0ed1687503
commit 016af2e013
348 changed files with 12368 additions and 11689 deletions
+4 -1
View File
@@ -1013,7 +1013,7 @@ class PointsMixin:
async def _async_notify_pending_approval(
self, child_name: str, chore_name: str, points: int,
completion_id: str | None = None,
completion_id: str | None = None, photo_url: str = "",
) -> None:
await self.notifications.fire(
"pending_chore_approval",
@@ -1023,6 +1023,9 @@ class PointsMixin:
"chore_name": chore_name,
"points": points,
"points_name": self.storage.get_points_name(),
# Evidence photo (#686). Signed here rather than in the
# notifier so the notifier stays free of photo specifics.
"photo_url": photos.sign_photo_url(self.hass, photo_url) if photo_url else "",
},
)