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

Public Member Functions

bool is_no_entities_reason (self)
 

Static Public Attributes

 AREA = auto()
 
 ASSISTANT = auto()
 
 DEVICE_CLASS = auto()
 
 DOMAIN = auto()
 
 DUPLICATE_NAME = auto()
 
 FEATURE = auto()
 
 FLOOR = auto()
 
 INVALID_AREA = auto()
 
 INVALID_FLOOR = auto()
 
 NAME = auto()
 
 STATE = auto()
 

Detailed Description

Possible reasons for match failure in async_match_targets.

Definition at line 181 of file intent.py.

Member Function Documentation

◆ is_no_entities_reason()

bool homeassistant.helpers.intent.MatchFailedReason.is_no_entities_reason (   self)
Return True if the match failed because no entities matched.

Definition at line 217 of file intent.py.

Member Data Documentation

◆ AREA

homeassistant.helpers.intent.MatchFailedReason.AREA = auto()
static

Definition at line 187 of file intent.py.

◆ ASSISTANT

homeassistant.helpers.intent.MatchFailedReason.ASSISTANT = auto()
static

Definition at line 205 of file intent.py.

◆ DEVICE_CLASS

homeassistant.helpers.intent.MatchFailedReason.DEVICE_CLASS = auto()
static

Definition at line 196 of file intent.py.

◆ DOMAIN

homeassistant.helpers.intent.MatchFailedReason.DOMAIN = auto()
static

Definition at line 193 of file intent.py.

◆ DUPLICATE_NAME

homeassistant.helpers.intent.MatchFailedReason.DUPLICATE_NAME = auto()
static

Definition at line 214 of file intent.py.

◆ FEATURE

homeassistant.helpers.intent.MatchFailedReason.FEATURE = auto()
static

Definition at line 199 of file intent.py.

◆ FLOOR

homeassistant.helpers.intent.MatchFailedReason.FLOOR = auto()
static

Definition at line 190 of file intent.py.

◆ INVALID_AREA

homeassistant.helpers.intent.MatchFailedReason.INVALID_AREA = auto()
static

Definition at line 208 of file intent.py.

◆ INVALID_FLOOR

homeassistant.helpers.intent.MatchFailedReason.INVALID_FLOOR = auto()
static

Definition at line 211 of file intent.py.

◆ NAME

homeassistant.helpers.intent.MatchFailedReason.NAME = auto()
static

Definition at line 184 of file intent.py.

◆ STATE

homeassistant.helpers.intent.MatchFailedReason.STATE = auto()
static

Definition at line 202 of file intent.py.


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