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) |
Configuration result with errors attribute.
Definition at line 46 of file check_config.py.
| None homeassistant.helpers.check_config.HomeAssistantConfig.__init__ | ( | self | ) |
Initialize HA config.
Definition at line 49 of file check_config.py.
| 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.
| 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.
| str homeassistant.helpers.check_config.HomeAssistantConfig.error_str | ( | self | ) |
Concatenate all errors to a string.
Definition at line 66 of file check_config.py.
| str homeassistant.helpers.check_config.HomeAssistantConfig.warning_str | ( | self | ) |
Concatenate all warnings to a string.
Definition at line 81 of file check_config.py.