Change minimal brightness value for hue.activate_scene service to 1 (#78154)
* Adjust Implementation Hue Scene Brightness so it cannot be 0pull/78869/head
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…
Reference in New Issue