Fix lamarzocco translation_placeholder (#131284)

This commit is contained in:
epenet
2024-11-22 17:37:40 +01:00
committed by GitHub
parent 3052e29689
commit 97f574a86a

View File

@@ -108,7 +108,7 @@ class LaMarzoccoSwitchEntity(LaMarzoccoEntity, SwitchEntity):
raise HomeAssistantError(
translation_domain=DOMAIN,
translation_key="switch_off_error",
translation_placeholders={"name": self.entity_description.key},
translation_placeholders={"key": self.entity_description.key},
) from exc
self.async_write_ha_state()