Skip to content

Instantly share code, notes, and snippets.

@bradcrc
bradcrc / light.py
Last active January 2, 2020 04:55 — forked from gadgetchnnel/light.py
Replacement light.py for HA Tuya component - this fork forces color support because it was failing for me
"""Support for the Tuya lights."""
from homeassistant.components.light import (
ATTR_BRIGHTNESS,
ATTR_COLOR_TEMP,
ATTR_HS_COLOR,
ENTITY_ID_FORMAT,
SUPPORT_BRIGHTNESS,
SUPPORT_COLOR,
SUPPORT_COLOR_TEMP,