mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix lamarzocco translation_placeholder (#131284)
This commit is contained in:
parent
3052e29689
commit
97f574a86a
@ -108,7 +108,7 @@ class LaMarzoccoSwitchEntity(LaMarzoccoEntity, SwitchEntity):
|
|||||||
raise HomeAssistantError(
|
raise HomeAssistantError(
|
||||||
translation_domain=DOMAIN,
|
translation_domain=DOMAIN,
|
||||||
translation_key="switch_off_error",
|
translation_key="switch_off_error",
|
||||||
translation_placeholders={"name": self.entity_description.key},
|
translation_placeholders={"key": self.entity_description.key},
|
||||||
) from exc
|
) from exc
|
||||||
self.async_write_ha_state()
|
self.async_write_ha_state()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user