From b6a166ce48f8135d62613ed0fdafbbae7576439b Mon Sep 17 00:00:00 2001 From: mettolen <1007649+mettolen@users.noreply.github.com> Date: Sat, 28 Feb 2026 07:18:19 +0200 Subject: [PATCH] Remove error translation placeholders from Airobot (#164436) --- homeassistant/components/airobot/number.py | 1 - homeassistant/components/airobot/strings.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/airobot/number.py b/homeassistant/components/airobot/number.py index 8cdd0b56a4c8..e8d041e9489f 100644 --- a/homeassistant/components/airobot/number.py +++ b/homeassistant/components/airobot/number.py @@ -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() diff --git a/homeassistant/components/airobot/strings.json b/homeassistant/components/airobot/strings.json index ecccf553736b..e12b5c333bb4 100644 --- a/homeassistant/components/airobot/strings.json +++ b/homeassistant/components/airobot/strings.json @@ -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}."