Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode Class Reference
Inheritance diagram for homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode:
[legend]
Collaboration diagram for homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode:
[legend]

Public Member Functions

None __init__ (self, str endpoint_id, Literal["COLOR", "ASLEEP", "NOT_PROVISIONED", "OTHER"] current_mode)
 
- Public Member Functions inherited from homeassistant.components.alexa.errors.AlexaError
None __init__ (self, str error_message, dict[str, Any]|None payload=None)
 

Public Attributes

 endpoint_id
 
- Public Attributes inherited from homeassistant.components.alexa.errors.AlexaError
 error_message
 
 payload
 

Static Public Attributes

string error_type = "NOT_SUPPORTED_IN_CURRENT_MODE"
 
string namespace = "Alexa"
 
- Static Public Attributes inherited from homeassistant.components.alexa.errors.AlexaError
 None
 

Detailed Description

The device is not in the correct mode to support this command.

Definition at line 70 of file errors.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode.__init__ (   self,
str  endpoint_id,
Literal["COLOR", "ASLEEP", "NOT_PROVISIONED", "OTHER"]  current_mode 
)
Initialize invalid endpoint error.

Definition at line 76 of file errors.py.

Member Data Documentation

◆ endpoint_id

homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode.endpoint_id

Definition at line 84 of file errors.py.

◆ error_type

string homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode.error_type = "NOT_SUPPORTED_IN_CURRENT_MODE"
static

Definition at line 74 of file errors.py.

◆ namespace

string homeassistant.components.alexa.errors.AlexaNotSupportedInCurrentMode.namespace = "Alexa"
static

Definition at line 73 of file errors.py.


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