Fix honeywell translation_placeholder (#131288)

This commit is contained in:
epenet
2024-11-22 17:36:57 +01:00
committed by GitHub
parent 6064055150
commit 46abf9790b

View File

@@ -398,7 +398,7 @@ class HoneywellUSThermostat(ClimateEntity):
raise ServiceValidationError(
translation_domain=DOMAIN,
translation_key="temp_failed_value",
translation_placeholders={"temp": temperature},
translation_placeholders={"temperature": temperature},
) from err
async def async_set_temperature(self, **kwargs: Any) -> None:
@@ -422,7 +422,7 @@ class HoneywellUSThermostat(ClimateEntity):
raise ServiceValidationError(
translation_domain=DOMAIN,
translation_key="temp_failed_value",
translation_placeholders={"temp": str(temperature)},
translation_placeholders={"temperature": str(temperature)},
) from err
async def async_set_fan_mode(self, fan_mode: str) -> None: