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)
This commit is contained in:
Vincent Bédard 2023-02-20 16:54:03 -05:00 committed by GitHub
parent 7a884a9d61
commit 2a1e046d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ async def async_setup_entry(
vol.Coerce(int), vol.Range(min=0, max=100) vol.Coerce(int), vol.Range(min=0, max=100)
), ),
vol.Optional(ATTR_TRANSITION): vol.All( 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.Optional(ATTR_BRIGHTNESS): vol.All(
vol.Coerce(int), vol.Range(min=1, max=255) vol.Coerce(int), vol.Range(min=1, max=255)

View File

@ -39,7 +39,7 @@ activate_scene:
selector: selector:
number: number:
min: 0 min: 0
max: 300 max: 3600
unit_of_measurement: seconds unit_of_measurement: seconds
dynamic: dynamic:
name: Dynamic name: Dynamic