Home Assistant Unofficial Reference
2024.12.1
Namespaces
|
Functions
|
Variables
util.py File Reference
Go to the source code of this file.
Namespaces
homeassistant.components.lifx.util
Functions
str
homeassistant.components.lifx.util._get_mac_offset
(str mac_addr, int offset)
bool
homeassistant.components.lifx.util._off_by_one_mac
(str firmware)
bool
homeassistant.components.lifx.util.async_entry_is_legacy
(ConfigEntry entry)
Message
homeassistant.components.lifx.util.async_execute_lifx
(Callable method)
ConfigEntry|None
homeassistant.components.lifx.util.async_get_legacy_entry
(HomeAssistant hass)
list[Message]
homeassistant.components.lifx.util.async_multi_execute_lifx_with_retries
(list[Callable] methods, int attempts, int overall_timeout)
int
homeassistant.components.lifx.util.convert_16_to_8
(int value)
int
homeassistant.components.lifx.util.convert_8_to_16
(int value)
list[float|int|None]|None
homeassistant.components.lifx.util.find_hsbk
(HomeAssistant hass, **Any kwargs)
str
homeassistant.components.lifx.util.formatted_serial
(str serial_number)
str
homeassistant.components.lifx.util.get_real_mac_addr
(str mac_addr, str firmware)
int|None
homeassistant.components.lifx.util.infrared_brightness_option_to_value
(str option)
str|None
homeassistant.components.lifx.util.infrared_brightness_value_to_option
(int value)
dict[str, Any]
homeassistant.components.lifx.util.lifx_features
(Light bulb)
bool
homeassistant.components.lifx.util.mac_matches_serial_number
(str mac_addr, str serial_number)
list[float|int|None]
homeassistant.components.lifx.util.merge_hsbk
(list[float|int|None] base, list[float|int|None] change)
Variables
homeassistant.components.lifx.util.FIX_MAC_FW
= AwesomeVersion("3.70")
core
homeassistant
components
lifx
util.py
Generated by
1.9.1