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

Private Member Functions

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

Detailed Description

Configure key based config entries.

Definition at line 201 of file view.py.

Member Function Documentation

◆ _delete_value()

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

Definition at line 228 of file view.py.

◆ _empty_config()

list[Any] homeassistant.components.config.view.EditIdBasedConfigView._empty_config (   self)
private
Return an empty config.

Definition at line 204 of file view.py.

◆ _get_value()

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

Definition at line 208 of file view.py.

◆ _write_value()

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

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