mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Fix honeywell translation_placeholder (#131288)
This commit is contained in:
parent
6064055150
commit
46abf9790b
@ -398,7 +398,7 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||||||
raise ServiceValidationError(
|
raise ServiceValidationError(
|
||||||
translation_domain=DOMAIN,
|
translation_domain=DOMAIN,
|
||||||
translation_key="temp_failed_value",
|
translation_key="temp_failed_value",
|
||||||
translation_placeholders={"temp": temperature},
|
translation_placeholders={"temperature": temperature},
|
||||||
) from err
|
) from err
|
||||||
|
|
||||||
async def async_set_temperature(self, **kwargs: Any) -> None:
|
async def async_set_temperature(self, **kwargs: Any) -> None:
|
||||||
@ -422,7 +422,7 @@ class HoneywellUSThermostat(ClimateEntity):
|
|||||||
raise ServiceValidationError(
|
raise ServiceValidationError(
|
||||||
translation_domain=DOMAIN,
|
translation_domain=DOMAIN,
|
||||||
translation_key="temp_failed_value",
|
translation_key="temp_failed_value",
|
||||||
translation_placeholders={"temp": str(temperature)},
|
translation_placeholders={"temperature": str(temperature)},
|
||||||
) from err
|
) from err
|
||||||
|
|
||||||
async def async_set_fan_mode(self, fan_mode: str) -> None:
|
async def async_set_fan_mode(self, fan_mode: str) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user