Classes | |
| class | WiLightLightColor |
| class | WiLightLightDimmer |
| class | WiLightLightOnOff |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities) |
| list[LightEntity] | entities_from_discovered_wilight (PyWiLightDevice api_device) |
| int | hass_to_wilight_hue (float value) |
| int | hass_to_wilight_saturation (float value) |
| float | wilight_to_hass_hue (int value) |
| float | wilight_to_hass_saturation (int value) |
Support for WiLight lights.
| None homeassistant.components.wilight.light.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| list[LightEntity] homeassistant.components.wilight.light.entities_from_discovered_wilight | ( | PyWiLightDevice | api_device | ) |
| int homeassistant.components.wilight.light.hass_to_wilight_hue | ( | float | value | ) |
| int homeassistant.components.wilight.light.hass_to_wilight_saturation | ( | float | value | ) |
| float homeassistant.components.wilight.light.wilight_to_hass_hue | ( | int | value | ) |