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

Public Member Functions

None __init__ (self)
 
Self add_error (self, str message, str|None domain=None, ConfigType|None config=None)
 
Self add_warning (self, str message, str|None domain=None, ConfigType|None config=None)
 
str error_str (self)
 
str warning_str (self)
 

Detailed Description

Configuration result with errors attribute.

Definition at line 46 of file check_config.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.helpers.check_config.HomeAssistantConfig.__init__ (   self)
Initialize HA config.

Definition at line 49 of file check_config.py.

Member Function Documentation

◆ add_error()

Self homeassistant.helpers.check_config.HomeAssistantConfig.add_error (   self,
str  message,
str | None   domain = None,
ConfigType | None   config = None 
)
Add an error.

Definition at line 55 of file check_config.py.

◆ add_warning()

Self homeassistant.helpers.check_config.HomeAssistantConfig.add_warning (   self,
str  message,
str | None   domain = None,
ConfigType | None   config = None 
)
Add a warning.

Definition at line 70 of file check_config.py.

◆ error_str()

str homeassistant.helpers.check_config.HomeAssistantConfig.error_str (   self)
Concatenate all errors to a string.

Definition at line 66 of file check_config.py.

◆ warning_str()

str homeassistant.helpers.check_config.HomeAssistantConfig.warning_str (   self)
Concatenate all warnings to a string.

Definition at line 81 of file check_config.py.


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