Classes | |
| class | DemoLight |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| list | LIGHT_COLORS = [(56, 86), (345, 75)] |
| list | LIGHT_EFFECT_LIST = ["rainbow", "none"] |
| list | LIGHT_TEMPS = [240, 380] |
| dictionary | SUPPORT_DEMO = {ColorMode.HS, ColorMode.COLOR_TEMP} |
| dictionary | SUPPORT_DEMO_HS_WHITE = {ColorMode.HS, ColorMode.WHITE} |
Demo light platform that implements lights.
| None homeassistant.components.demo.light.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| list homeassistant.components.demo.light.LIGHT_COLORS = [(56, 86), (345, 75)] |
| list homeassistant.components.demo.light.LIGHT_EFFECT_LIST = ["rainbow", "none"] |
| list homeassistant.components.demo.light.LIGHT_TEMPS = [240, 380] |
| dictionary homeassistant.components.demo.light.SUPPORT_DEMO = {ColorMode.HS, ColorMode.COLOR_TEMP} |
| dictionary homeassistant.components.demo.light.SUPPORT_DEMO_HS_WHITE = {ColorMode.HS, ColorMode.WHITE} |