I was disappointed I couldn't set the brightness of a turned off light (I'd like to do that just before I turn it on to avoid blasting full brightness for a fraction of a second in some circumstances) but I guess that's a limitation of Hue, so _b.setlight() throws an error and that's ok.
But it's inconsistent with the behavior of _b.setgroup() which returns "success" even when all lights of the group are turned off and their brightness was not changed.
What I would expect from _b.setgroup() is to set the brightness of the lights that are on (if any) but also returns an error letting me know the brightness of some of them could not be changed.
I was disappointed I couldn't set the brightness of a turned off light (I'd like to do that just before I turn it on to avoid blasting full brightness for a fraction of a second in some circumstances) but I guess that's a limitation of Hue, so _b.setlight() throws an error and that's ok.
But it's inconsistent with the behavior of _b.setgroup() which returns "success" even when all lights of the group are turned off and their brightness was not changed.
What I would expect from _b.setgroup() is to set the brightness of the lights that are on (if any) but also returns an error letting me know the brightness of some of them could not be changed.