Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.config.view.EditKeyBasedConfigView Class Reference
Inheritance diagram for homeassistant.components.config.view.EditKeyBasedConfigView:
[legend]
Collaboration diagram for homeassistant.components.config.view.EditKeyBasedConfigView:
[legend]

Private Member Functions

dict[str, Any] _delete_value (self, HomeAssistant hass, dict[str, dict[str, Any]] data, str config_key)
 
dict[str, Any] _empty_config (self)
 
dict[str, Any]|None _get_value (self, HomeAssistant hass, dict[str, dict[str, Any]] data, str config_key)
 
None _write_value (self, HomeAssistant hass, dict[str, dict[str, Any]] data, str config_key, dict[str, Any] new_value)
 

Detailed Description

Configure a list of entries.

Definition at line 171 of file view.py.

Member Function Documentation

◆ _delete_value()

dict[str, Any] homeassistant.components.config.view.EditKeyBasedConfigView._delete_value (   self,
HomeAssistant  hass,
dict[str, dict[str, Any]]  data,
str   config_key 
)
private
Delete value.

Definition at line 194 of file view.py.

◆ _empty_config()

dict[str, Any] homeassistant.components.config.view.EditKeyBasedConfigView._empty_config (   self)
private
Return an empty config.

Definition at line 174 of file view.py.

◆ _get_value()

dict[str, Any] | None homeassistant.components.config.view.EditKeyBasedConfigView._get_value (   self,
HomeAssistant  hass,
dict[str, dict[str, Any]]  data,
str   config_key 
)
private
Get value.

Definition at line 178 of file view.py.

◆ _write_value()

None homeassistant.components.config.view.EditKeyBasedConfigView._write_value (   self,
HomeAssistant  hass,
dict[str, dict[str, Any]]  data,
str  config_key,
dict[str, Any]  new_value 
)
private
Set value.

Reimplemented in homeassistant.components.config.script.EditScriptConfigView.

Definition at line 184 of file view.py.


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