Home Assistant Unofficial Reference 2024.12.1
icon.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.icon._IconsCache
 

Namespaces

 homeassistant.helpers.icon
 

Functions

dict[str, Any] homeassistant.helpers.icon._async_get_component_icons (HomeAssistant hass, set[str] components, dict[str, Integration] integrations)
 
dict[str, Any] homeassistant.helpers.icon._load_icons_file (pathlib.Path icons_file)
 
dict[str, dict[str, Any]] homeassistant.helpers.icon._load_icons_files (dict[str, pathlib.Path] icons_files)
 
dict[str, Any] homeassistant.helpers.icon.async_get_icons (HomeAssistant hass, str category, Iterable[str]|None integrations=None)
 
dict[str, str|dict[str, str]] homeassistant.helpers.icon.convert_shorthand_service_icon (str|dict[str, str|dict[str, str]] value)
 
str homeassistant.helpers.icon.icon_for_battery_level (int|None battery_level=None, bool charging=False)
 
str homeassistant.helpers.icon.icon_for_signal_level (int|None signal_level=None)
 

Variables

 homeassistant.helpers.icon._LOGGER = logging.getLogger(__name__)