mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Use separate line for return statement in hue_activate_scene (#41709)
This commit is contained in:
parent
3e41c682f4
commit
bf57035880
@ -49,7 +49,8 @@ async def async_setup(hass, config):
|
|||||||
# Note that we'll get a "None" value for a successful call
|
# Note that we'll get a "None" value for a successful call
|
||||||
if None not in results:
|
if None not in results:
|
||||||
if skip_reload:
|
if skip_reload:
|
||||||
return await hue_activate_scene(call, skip_reload=False)
|
await hue_activate_scene(call, skip_reload=False)
|
||||||
|
return
|
||||||
_LOGGER.warning(
|
_LOGGER.warning(
|
||||||
"No bridge was able to activate " "scene %s in group %s",
|
"No bridge was able to activate " "scene %s in group %s",
|
||||||
scene_name,
|
scene_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user