Public Member Functions | |
| None | __init__ (self, *object args, dict[str, str]|None translation_placeholders=None) |
Public Member Functions inherited from homeassistant.exceptions.HomeAssistantError | |
| None | __init__ (self, *object args, str|None translation_domain=None, str|None translation_key=None, dict[str, str]|None translation_placeholders=None) |
| str | __str__ (self) |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.exceptions.HomeAssistantError | |
| generate_message | |
| translation_domain | |
| translation_key | |
| translation_placeholders | |
Static Public Attributes inherited from homeassistant.exceptions.HomeAssistantError | |
| bool | |
| None | |
Raised when the preset_mode is not in the preset_modes list.
Definition at line 99 of file __init__.py.
| None homeassistant.components.fan.NotValidPresetModeError.__init__ | ( | self, | |
| *object | args, | ||
| dict[str, str] | None | translation_placeholders = None |
||
| ) |
Initialize the exception.
Definition at line 102 of file __init__.py.