From a6ba8fa69c5392d64290385df6c5d132daeda103 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 29 Oct 2025 14:08:04 +0100 Subject: [PATCH] Add support for translation_placeholders in zha (#155254) --- homeassistant/components/zha/entity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/zha/entity.py b/homeassistant/components/zha/entity.py index fea90b5167f..7030a20e4d8 100644 --- a/homeassistant/components/zha/entity.py +++ b/homeassistant/components/zha/entity.py @@ -61,6 +61,9 @@ class ZHAEntity(LogMixin, RestoreEntity, Entity): if meta.translation_key is not None: self._attr_translation_key = meta.translation_key + if meta.translation_placeholders is not None: + self._attr_translation_placeholders = meta.translation_placeholders + @cached_property def name(self) -> str | UndefinedType | None: """Return the name of the entity."""