Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.knx.storage.keyring Namespace Reference

Functions

Keyring save_uploaded_knxkeys_file (HomeAssistant hass, str uploaded_file_id, str password)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 Final
 

Detailed Description

KNX Keyring handler.

Function Documentation

◆ save_uploaded_knxkeys_file()

Keyring homeassistant.components.knx.storage.keyring.save_uploaded_knxkeys_file ( HomeAssistant  hass,
str  uploaded_file_id,
str   password 
)
Validate the uploaded file and move it to the storage directory.

Return a Keyring object.
Raises InvalidSecureConfiguration if the file or password is invalid.

Definition at line 23 of file keyring.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.knx.storage.keyring._LOGGER = logging.getLogger(__name__)
private

Definition at line 17 of file keyring.py.

◆ Final

homeassistant.components.knx.storage.keyring.Final

Definition at line 20 of file keyring.py.