Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.wiz.utils Namespace Reference

Functions

str _short_mac (str mac)
 
str name_from_bulb_type_and_mac (BulbType bulb_type, str mac)
 

Detailed Description

WiZ utils.

Function Documentation

◆ _short_mac()

str homeassistant.components.wiz.utils._short_mac ( str  mac)
private
Get the short mac address from the full mac.

Definition at line 11 of file utils.py.

◆ name_from_bulb_type_and_mac()

str homeassistant.components.wiz.utils.name_from_bulb_type_and_mac ( BulbType  bulb_type,
str  mac 
)
Generate a name from bulb_type and mac.

Definition at line 16 of file utils.py.