Skip to content

Commit

Permalink
set OnTime to 0 on offWithEffectCommand if GlobalSceneControl is true
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lechner committed Jun 10, 2024
1 parent c158260 commit 1085073
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/clusters/on-off-server/on-off-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ bool OnOffServer::offWithEffectCommand(app::CommandHandler * commandObj, const a
}

status = setOnOffValue(endpoint, Commands::Off::Id, false);
Attributes::OnTime::Set(endpoint, 0);
}
else
{
Expand Down

0 comments on commit 1085073

Please sign in to comment.