Get ServiceValidationError message from translation cache only (#113704)
* Get ServiceValidationError message from translation cache only * Remove message for NotValidPresetModeError
This commit is contained in:
parent
ec7aecef84
commit
3dc8df2403
18 changed files with 16 additions and 43 deletions
|
@ -150,7 +150,6 @@ class BSBLANClimate(
|
|||
await self.async_set_data(preset_mode=preset_mode)
|
||||
else:
|
||||
raise ServiceValidationError(
|
||||
"Can't set preset mode when hvac mode is not auto",
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="set_preset_mode_error",
|
||||
translation_placeholders={"preset_mode": preset_mode},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue