mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Change minimal brightness value for hue.activate_scene service to 1 (#78154)
* Adjust Implementation Hue Scene Brightness so it cannot be 0
This commit is contained in:
parent
0ac581a0b1
commit
00f1f3e355
@ -71,7 +71,7 @@ async def async_setup_entry(
|
||||
vol.Coerce(float), vol.Range(min=0, max=600)
|
||||
),
|
||||
vol.Optional(ATTR_BRIGHTNESS): vol.All(
|
||||
vol.Coerce(int), vol.Range(min=0, max=255)
|
||||
vol.Coerce(int), vol.Range(min=1, max=255)
|
||||
),
|
||||
},
|
||||
"_async_activate",
|
||||
|
@ -60,5 +60,5 @@ activate_scene:
|
||||
advanced: true
|
||||
selector:
|
||||
number:
|
||||
min: 0
|
||||
min: 1
|
||||
max: 255
|
||||
|
Loading…
x
Reference in New Issue
Block a user