Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.flux_led Namespace Reference

Namespaces

 button
 
 config_flow
 
 const
 
 coordinator
 
 diagnostics
 
 discovery
 
 entity
 
 light
 
 number
 
 select
 
 sensor
 
 switch
 
 util
 

Functions

None _async_migrate_unique_ids (HomeAssistant hass, ConfigEntry entry)
 
None _async_update_listener (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
AIOWifiLedBulb async_wifi_bulb_for_host (str host, FluxLEDDiscovery|None discovery)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 
 Final
 
 minutes
 

Detailed Description

The Flux LED/MagicLight integration.

Function Documentation

◆ _async_migrate_unique_ids()

None homeassistant.components.flux_led._async_migrate_unique_ids ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Migrate entities when the mac address gets discovered.

Definition at line 116 of file __init__.py.

◆ _async_update_listener()

None homeassistant.components.flux_led._async_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Handle options update.

Definition at line 149 of file __init__.py.

◆ async_setup()

bool homeassistant.components.flux_led.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the flux_led component.

Definition at line 89 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.flux_led.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Flux LED/MagicLight from a config entry.

Definition at line 156 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.flux_led.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 242 of file __init__.py.

◆ async_wifi_bulb_for_host()

AIOWifiLedBulb homeassistant.components.flux_led.async_wifi_bulb_for_host ( str  host,
FluxLEDDiscovery | None   discovery 
)
Create a AIOWifiLedBulb from a host.

Definition at line 82 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.flux_led._LOGGER = logging.getLogger(__name__)
private

Definition at line 54 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.flux_led.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

Definition at line 78 of file __init__.py.

◆ Final

homeassistant.components.flux_led.Final

Definition at line 56 of file __init__.py.

◆ minutes

homeassistant.components.flux_led.minutes

Definition at line 72 of file __init__.py.