Namespaces | |
| binary_sensor | |
| button | |
| config_flow | |
| const | |
| coordinator | |
| diagnostics | |
| discovery | |
| entity | |
| light | |
| manager | |
| migration | |
| select | |
| sensor | |
| util | |
Classes | |
| class | LIFXDiscoveryManager |
Functions | |
| bool | async_legacy_migration (HomeAssistant hass, ConfigEntry legacy_entry, Iterable[Light] discovered_devices) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| string | CONF_BROADCAST = "broadcast" |
| string | CONF_SERVER = "server" |
| CONFIG_SCHEMA | |
| int | DISCOVERY_COOLDOWN = 5 |
| DISCOVERY_INTERVAL = timedelta(minutes=15) | |
| INTERFACE_SCHEMA | |
| MIGRATION_INTERVAL = timedelta(minutes=5) | |
| list | PLATFORMS |
Support for LIFX.
| bool homeassistant.components.lifx.async_legacy_migration | ( | HomeAssistant | hass, |
| ConfigEntry | legacy_entry, | ||
| Iterable[Light] | discovered_devices | ||
| ) |
Migrate config entries.
Definition at line 74 of file __init__.py.
| bool homeassistant.components.lifx.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the LIFX component.
Definition at line 158 of file __init__.py.
| bool homeassistant.components.lifx.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up LIFX from a config entry.
Definition at line 190 of file __init__.py.
| bool homeassistant.components.lifx.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 237 of file __init__.py.
| string homeassistant.components.lifx.CONF_BROADCAST = "broadcast" |
Definition at line 37 of file __init__.py.
| string homeassistant.components.lifx.CONF_SERVER = "server" |
Definition at line 36 of file __init__.py.
| homeassistant.components.lifx.CONFIG_SCHEMA |
Definition at line 48 of file __init__.py.
| int homeassistant.components.lifx.DISCOVERY_COOLDOWN = 5 |
Definition at line 71 of file __init__.py.
| homeassistant.components.lifx.DISCOVERY_INTERVAL = timedelta(minutes=15) |
Definition at line 68 of file __init__.py.
| homeassistant.components.lifx.INTERFACE_SCHEMA |
Definition at line 40 of file __init__.py.
| homeassistant.components.lifx.MIGRATION_INTERVAL = timedelta(minutes=5) |
Definition at line 69 of file __init__.py.
| list homeassistant.components.lifx.PLATFORMS |
Definition at line 61 of file __init__.py.