mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 14:45:09 +02:00
Fix honeywell translation_placeholder (#131288)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user