Improve bulb API, force turn on for all light changes as offline changes are not supported#76
Conversation
|
It looks like the pipeline error is not related to the code, but to the CLI not setting brightness. |
…, force bulb on when changing the settings, allow defining brightness for set_color_temp, add a couple of new API methods
722fdb7 to
527009e
Compare
|
I did rebase this PR on top of the current master, and it's currently failing on missing KL60 (setting brightness to 20): KP303 (turning a single socket off): HS110 (turning off): That will be a yet another PR and requires a bit effort which pushes the release back, but I think it still makes sense to do that. Opinions? |
|
On the other hand, if there is no exception raised, the user can either parse the response themselves or trust that the given action was done.. |
set_color_temp(to allow changing both brightness and color temp in a single call)get_light_detailsandget_turn_on_behavior)