Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.fan.NotValidPresetModeError Class Reference
Inheritance diagram for homeassistant.components.fan.NotValidPresetModeError:
[legend]
Collaboration diagram for homeassistant.components.fan.NotValidPresetModeError:
[legend]

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
 

Detailed Description

Raised when the preset_mode is not in the preset_modes list.

Definition at line 99 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

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.


The documentation for this class was generated from the following file: