diff --git a/lib/MiLight/MiLightClient.cpp b/lib/MiLight/MiLightClient.cpp index 7942bff6..4856cbac 100644 --- a/lib/MiLight/MiLightClient.cpp +++ b/lib/MiLight/MiLightClient.cpp @@ -318,7 +318,13 @@ void MiLightClient::update(JsonObject request) { // Always turn on first if (parsedStatus == ON) { - if (transition == 0) { + if ( + transition == 0 + // Do not generate a transition if a brightness field is also set, since that will also + // generate a transition. + || request.containsKey(GroupStateFieldNames::BRIGHTNESS) + || request.containsKey(GroupStateFieldNames::LEVEL) + ) { this->updateStatus(ON); } else { handleTransition(GroupStateField::STATUS, status, transition);