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

Public Member Functions

Self __new__ (cls, str value, bool recoverable)
 
bool recoverable (self)
 

Static Public Attributes

string FAILED_UNLOAD = "failed_unload", False
 
string LOADED = "loaded", True
 
string MIGRATION_ERROR = "migration_error", False
 
string NOT_LOADED = "not_loaded", True
 
string SETUP_ERROR = "setup_error", True
 
string SETUP_IN_PROGRESS = "setup_in_progress", False
 
string SETUP_RETRY = "setup_retry", True
 

Detailed Description

Config entry state.

Definition at line 143 of file config_entries.py.

Member Function Documentation

◆ __new__()

Self homeassistant.config_entries.ConfigEntryState.__new__ (   cls,
str  value,
bool  recoverable 
)
Create new ConfigEntryState.

Definition at line 163 of file config_entries.py.

◆ recoverable()

bool homeassistant.config_entries.ConfigEntryState.recoverable (   self)
Get if the state is recoverable.

If the entry state is recoverable, unloads
and reloads are allowed.

Definition at line 171 of file config_entries.py.

Member Data Documentation

◆ FAILED_UNLOAD

string homeassistant.config_entries.ConfigEntryState.FAILED_UNLOAD = "failed_unload", False
static

Definition at line 156 of file config_entries.py.

◆ LOADED

string homeassistant.config_entries.ConfigEntryState.LOADED = "loaded", True
static

Definition at line 146 of file config_entries.py.

◆ MIGRATION_ERROR

string homeassistant.config_entries.ConfigEntryState.MIGRATION_ERROR = "migration_error", False
static

Definition at line 150 of file config_entries.py.

◆ NOT_LOADED

string homeassistant.config_entries.ConfigEntryState.NOT_LOADED = "not_loaded", True
static

Definition at line 154 of file config_entries.py.

◆ SETUP_ERROR

string homeassistant.config_entries.ConfigEntryState.SETUP_ERROR = "setup_error", True
static

Definition at line 148 of file config_entries.py.

◆ SETUP_IN_PROGRESS

string homeassistant.config_entries.ConfigEntryState.SETUP_IN_PROGRESS = "setup_in_progress", False
static

Definition at line 158 of file config_entries.py.

◆ SETUP_RETRY

string homeassistant.config_entries.ConfigEntryState.SETUP_RETRY = "setup_retry", True
static

Definition at line 152 of file config_entries.py.


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