mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +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.Coerce(float), vol.Range(min=0, max=600)
|
||||||
),
|
),
|
||||||
vol.Optional(ATTR_BRIGHTNESS): vol.All(
|
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",
|
"_async_activate",
|
||||||
|
@ -60,5 +60,5 @@ activate_scene:
|
|||||||
advanced: true
|
advanced: true
|
||||||
selector:
|
selector:
|
||||||
number:
|
number:
|
||||||
min: 0
|
min: 1
|
||||||
max: 255
|
max: 255
|
||||||
|
Loading…
x
Reference in New Issue
Block a user