Remove redundant translation_placeholders plumbing in Vistapool (#180051)

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Erwin Douna <e.douna@gmail.com>
This commit is contained in:
fdebrus
2026-08-24 22:48:36 +02:00
committed by GitHub
co-authored by Claude Erwin Douna
parent 247fa20afa
commit 845650cb6f
2 changed files with 0 additions and 5 deletions
@@ -29,7 +29,6 @@ class VistapoolSelectEntityDescription(SelectEntityDescription):
value_path: str
exists_path: str | tuple[str, ...] | None = None
translation_placeholders: dict[str, str] | None = None
SELECT_DESCRIPTIONS: tuple[VistapoolSelectEntityDescription, ...] = (
@@ -125,8 +124,6 @@ class VistapoolSelect(VistapoolEntity, SelectEntity):
super().__init__(coordinator)
self.entity_description = description
self._attr_unique_id = self.build_unique_id(description.key)
if description.translation_placeholders is not None:
self._attr_translation_placeholders = description.translation_placeholders
@property
@override
@@ -29,7 +29,6 @@ class VistapoolTimeEntityDescription(TimeEntityDescription):
"""Describes a Vistapool time entity."""
value_path: str
translation_placeholders: dict[str, str]
TIME_DESCRIPTIONS: tuple[VistapoolTimeEntityDescription, ...] = tuple(
@@ -90,7 +89,6 @@ class VistapoolTime(VistapoolEntity, TimeEntity):
super().__init__(coordinator)
self.entity_description = description
self._attr_unique_id = self.build_unique_id(description.key)
self._attr_translation_placeholders = description.translation_placeholders
@property
@override