mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 01:55:18 +02: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user