Add support for changing the white strip type to flux_led (#63943)
This commit is contained in:
parent
5622db10b1
commit
1c6ca908d1
11 changed files with 304 additions and 54 deletions
|
@ -23,6 +23,10 @@ def format_as_flux_mac(mac: str | None) -> str | None:
|
|||
return None if mac is None else mac.replace(":", "").upper()
|
||||
|
||||
|
||||
def _human_readable_option(const_option: str) -> str:
|
||||
return const_option.replace("_", " ").title()
|
||||
|
||||
|
||||
def _flux_color_mode_to_hass(
|
||||
flux_color_mode: str | None, flux_color_modes: set[str]
|
||||
) -> str:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue