Screenlogic service refactor (#109041)

This commit is contained in:
Kevin Worrel 2024-02-05 00:05:28 -08:00 committed by GitHub
parent b56dd3f808
commit 0bfef71f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 170 additions and 80 deletions

View file

@ -20,6 +20,8 @@ DOMAIN = "screenlogic"
DEFAULT_SCAN_INTERVAL = 30
MIN_SCAN_INTERVAL = 10
ATTR_CONFIG_ENTRY = "config_entry"
SERVICE_SET_COLOR_MODE = "set_color_mode"
ATTR_COLOR_MODE = "color_mode"
SUPPORTED_COLOR_MODES = {slugify(cm.name): cm.value for cm in COLOR_MODE}