Add telegram media sender as service. Also fixed the via_device warnings that would break in HA 2025.12.0.
All checks were successful
Validate / Hassfest (push) Successful in 3s

This commit is contained in:
2026-01-31 04:07:13 +03:00
parent c570e157be
commit 02c0535f50
10 changed files with 193 additions and 16 deletions

View File

@@ -109,8 +109,7 @@ class ImmichCreateShareLinkButton(
name=self._album_name,
manufacturer="Immich",
entry_type=DeviceEntryType.SERVICE,
via_device=(DOMAIN, self._entry.entry_id),
)
)
@property
def extra_state_attributes(self) -> dict[str, str]:
@@ -200,8 +199,7 @@ class ImmichDeleteShareLinkButton(
name=self._album_name,
manufacturer="Immich",
entry_type=DeviceEntryType.SERVICE,
via_device=(DOMAIN, self._entry.entry_id),
)
)
@property
def extra_state_attributes(self) -> dict[str, str]:
@@ -298,8 +296,7 @@ class ImmichCreateProtectedLinkButton(
name=self._album_name,
manufacturer="Immich",
entry_type=DeviceEntryType.SERVICE,
via_device=(DOMAIN, self._entry.entry_id),
)
)
@property
def extra_state_attributes(self) -> dict[str, str]:
@@ -393,8 +390,7 @@ class ImmichDeleteProtectedLinkButton(
name=self._album_name,
manufacturer="Immich",
entry_type=DeviceEntryType.SERVICE,
via_device=(DOMAIN, self._entry.entry_id),
)
)
@property
def extra_state_attributes(self) -> dict[str, str]: