Remove error translation placeholders from Airobot (#164436)

This commit is contained in:
mettolen
2026-03-02 19:31:43 +01:00
committed by Bram Kragten
parent e93b724ce4
commit b6a166ce48
2 changed files with 1 additions and 2 deletions
@@ -93,7 +93,6 @@ class AirobotNumber(AirobotEntity, NumberEntity):
raise ServiceValidationError(
translation_domain=DOMAIN,
translation_key="set_value_failed",
translation_placeholders={"error": str(err)},
) from err
else:
await self.coordinator.async_request_refresh()
@@ -112,7 +112,7 @@
"message": "Failed to set temperature to {temperature}."
},
"set_value_failed": {
"message": "Failed to set value: {error}"
"message": "Failed to set value."
},
"switch_turn_off_failed": {
"message": "Failed to turn off {switch}."