From 2a1e046d46c426f6bca466ed3d89a1410b33ea5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20B=C3=A9dard?= Date: Mon, 20 Feb 2023 16:54:03 -0500 Subject: [PATCH] Increase the maximum value for the transition parameter in the service hue.activate_scene (#88414) * Increase hue.activate_scene max transition * Adjust the maximum transition (hue.activate_scene) --- homeassistant/components/hue/scene.py | 2 +- homeassistant/components/hue/services.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/hue/scene.py b/homeassistant/components/hue/scene.py index 8d4ca5d724a..abf3e5412ef 100644 --- a/homeassistant/components/hue/scene.py +++ b/homeassistant/components/hue/scene.py @@ -71,7 +71,7 @@ async def async_setup_entry( vol.Coerce(int), vol.Range(min=0, max=100) ), vol.Optional(ATTR_TRANSITION): vol.All( - vol.Coerce(float), vol.Range(min=0, max=600) + vol.Coerce(float), vol.Range(min=0, max=3600) ), vol.Optional(ATTR_BRIGHTNESS): vol.All( vol.Coerce(int), vol.Range(min=1, max=255) diff --git a/homeassistant/components/hue/services.yaml b/homeassistant/components/hue/services.yaml index 790100373f4..b06c3934152 100644 --- a/homeassistant/components/hue/services.yaml +++ b/homeassistant/components/hue/services.yaml @@ -39,7 +39,7 @@ activate_scene: selector: number: min: 0 - max: 300 + max: 3600 unit_of_measurement: seconds dynamic: name: Dynamic