mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix music mode and on with older 0x08 flux_led models (#64672)
This commit is contained in:
parent
ea79bfb90f
commit
aada66cc93
@ -17,7 +17,7 @@ from .const import FLUX_LED_EXCEPTIONS
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
REQUEST_REFRESH_DELAY: Final = 1.5
|
||||
REQUEST_REFRESH_DELAY: Final = 2.0
|
||||
|
||||
|
||||
class FluxLedUpdateCoordinator(DataUpdateCoordinator):
|
||||
|
@ -109,7 +109,7 @@ SET_MUSIC_MODE_DICT: Final = {
|
||||
vol.Coerce(int), vol.Range(min=0, max=100)
|
||||
),
|
||||
vol.Optional(ATTR_EFFECT, default=1): vol.All(
|
||||
vol.Coerce(int), vol.Range(min=1, max=16)
|
||||
vol.Coerce(int), vol.Range(min=0, max=16)
|
||||
),
|
||||
vol.Optional(ATTR_LIGHT_SCREEN, default=False): bool,
|
||||
vol.Optional(ATTR_FOREGROUND_COLOR): vol.All(
|
||||
|
Loading…
x
Reference in New Issue
Block a user