Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.intent.MatchFailedError Class Reference
Inheritance diagram for homeassistant.helpers.intent.MatchFailedError:
[legend]
Collaboration diagram for homeassistant.helpers.intent.MatchFailedError:
[legend]

Public Member Functions

None __init__ (self, MatchTargetsResult result, MatchTargetsConstraints constraints, MatchTargetsPreferences|None preferences=None)
 
str __str__ (self)
 
- 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)
 

Public Attributes

 constraints
 
 preferences
 
 result
 
- Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 generate_message
 
 translation_domain
 
 translation_key
 
 translation_placeholders
 

Additional Inherited Members

- Static Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 bool
 
 None
 

Detailed Description

Error when target matching fails.

Definition at line 305 of file intent.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.helpers.intent.MatchFailedError.__init__ (   self,
MatchTargetsResult  result,
MatchTargetsConstraints  constraints,
MatchTargetsPreferences | None   preferences = None 
)
Initialize error.

Definition at line 308 of file intent.py.

Member Function Documentation

◆ __str__()

str homeassistant.helpers.intent.MatchFailedError.__str__ (   self)
Return string representation.

Reimplemented from homeassistant.exceptions.HomeAssistantError.

Definition at line 321 of file intent.py.

Member Data Documentation

◆ constraints

homeassistant.helpers.intent.MatchFailedError.constraints

Definition at line 318 of file intent.py.

◆ preferences

homeassistant.helpers.intent.MatchFailedError.preferences

Definition at line 319 of file intent.py.

◆ result

homeassistant.helpers.intent.MatchFailedError.result

Definition at line 317 of file intent.py.


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