Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.webmin.helpers Namespace Reference

Functions

tuple[WebminInstance, URL] get_instance_from_options (HomeAssistant hass, Mapping[str, Any] options)
 
list[str] get_sorted_mac_addresses (dict[str, Any] data)
 

Detailed Description

Helper functions for the Webmin integration.

Function Documentation

◆ get_instance_from_options()

tuple[WebminInstance, URL] homeassistant.components.webmin.helpers.get_instance_from_options ( HomeAssistant  hass,
Mapping[str, Any]   options 
)
Retrieve a Webmin instance and the base URL from config options.

Definition at line 21 of file helpers.py.

◆ get_sorted_mac_addresses()

list[str] homeassistant.components.webmin.helpers.get_sorted_mac_addresses ( dict[str, Any]  data)
Return a sorted list of mac addresses.

Definition at line 43 of file helpers.py.