Allow keeping master light in WLED (#51759)

This commit is contained in:
Franck Nijhof 2021-06-12 13:33:23 +02:00 committed by GitHub
parent 779ef3c8e1
commit cfce71d7df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 155 additions and 12 deletions

View file

@ -8,6 +8,10 @@ DOMAIN = "wled"
LOGGER = logging.getLogger(__package__)
SCAN_INTERVAL = timedelta(seconds=10)
# Options
CONF_KEEP_MASTER_LIGHT = "keep_master_light"
DEFAULT_KEEP_MASTER_LIGHT = False
# Attributes
ATTR_COLOR_PRIMARY = "color_primary"
ATTR_DURATION = "duration"