Home Assistant Unofficial Reference 2024.12.1
homeassistant.exceptions.ConditionError Class Reference
Inheritance diagram for homeassistant.exceptions.ConditionError:
[legend]
Collaboration diagram for homeassistant.exceptions.ConditionError:
[legend]

Public Member Functions

str __str__ (self)
 
Generator[str] output (self, int indent)
 
- 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)
 

Static Private Member Functions

str _indent (int indent, str message)
 

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

Error during condition evaluation.

Definition at line 131 of file exceptions.py.

Member Function Documentation

◆ __str__()

str homeassistant.exceptions.ConditionError.__str__ (   self)
Return string representation.

Reimplemented from homeassistant.exceptions.HomeAssistantError.

Definition at line 145 of file exceptions.py.

◆ _indent()

str homeassistant.exceptions.ConditionError._indent ( int  indent,
str  message 
)
staticprivate
Return indentation.

Definition at line 137 of file exceptions.py.

◆ output()

Generator[str] homeassistant.exceptions.ConditionError.output (   self,
int  indent 
)

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