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

Namespaces

 button
 
 config_flow
 
 const
 
 coordinator
 
 diagnostics
 
 entity
 
 helpers
 
 light
 
 number
 
 select
 
 sensor
 
 switch
 
 update
 

Functions

None async_reload_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, WLEDConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, WLEDConfigEntry entry)
 

Variables

 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 
tuple PLATFORMS
 
 WLEDConfigEntry
 

Detailed Description

Support for WLED.

Function Documentation

◆ async_reload_entry()

None homeassistant.components.wled.async_reload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Reload the config entry when it changed.

Definition at line 70 of file __init__.py.

◆ async_setup()

bool homeassistant.components.wled.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the WLED integration.

We set up a single coordinator for fetching WLED releases, which
is used across all WLED devices (and config entries) to avoid
fetching the same data multiple times for each.

Definition at line 31 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.wled.async_setup_entry ( HomeAssistant  hass,
WLEDConfigEntry  entry 
)
Set up WLED from a config entry.

Definition at line 43 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.wled.async_unload_entry ( HomeAssistant  hass,
WLEDConfigEntry  entry 
)
Unload WLED config entry.

Definition at line 57 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

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

Definition at line 28 of file __init__.py.

◆ PLATFORMS

tuple homeassistant.components.wled.PLATFORMS
Initial value:
1 = (
2  Platform.BUTTON,
3  Platform.LIGHT,
4  Platform.NUMBER,
5  Platform.SELECT,
6  Platform.SENSOR,
7  Platform.SWITCH,
8  Platform.UPDATE,
9 )

Definition at line 15 of file __init__.py.

◆ WLEDConfigEntry

homeassistant.components.wled.WLEDConfigEntry

Definition at line 25 of file __init__.py.