Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| device | |
| entity | |
| light | |
| scanner | |
Functions | |
| YeelightDevice | _async_get_device (HomeAssistant hass, str host, ConfigEntry entry) |
| None | _async_initialize (HomeAssistant hass, ConfigEntry entry, YeelightDevice device) |
| None | _async_normalize_config_entry (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) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| ATTR_ACTION | |
| ATTR_COUNT | |
| CONFIG_SCHEMA | |
| default | |
| DEVICE_SCHEMA | |
| VolDictType | |
Support for Xiaomi Yeelight WiFi color bulb.
|
private |
Definition at line 253 of file __init__.py.
|
private |
Initialize a Yeelight device.
Definition at line 142 of file __init__.py.
|
private |
Move options from data for imported entries. Initialize options with default values for other entries. Copy the unique id to CONF_ID if it is missing
Definition at line 163 of file __init__.py.
|
private |
Handle options update.
Definition at line 248 of file __init__.py.
| bool homeassistant.components.yeelight.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the Yeelight bulbs.
Definition at line 116 of file __init__.py.
| bool homeassistant.components.yeelight.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up Yeelight from a config entry.
Definition at line 206 of file __init__.py.
| bool homeassistant.components.yeelight.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 241 of file __init__.py.
|
private |
Definition at line 59 of file __init__.py.
| homeassistant.components.yeelight.ATTR_ACTION |
Definition at line 64 of file __init__.py.
| homeassistant.components.yeelight.ATTR_COUNT |
Definition at line 63 of file __init__.py.
| homeassistant.components.yeelight.CONFIG_SCHEMA |
Definition at line 98 of file __init__.py.
| homeassistant.components.yeelight.default |
Definition at line 63 of file __init__.py.
| homeassistant.components.yeelight.DEVICE_SCHEMA |
Definition at line 85 of file __init__.py.
| homeassistant.components.yeelight.VolDictType |
Definition at line 62 of file __init__.py.