Open
Description
StepTarget and Step commands of closure dimension cluster have check for valid state based on MainState Enum, but as Mainstate Enum is from closure control cluster, we should create an interface between them and perform this check in Server code.
As of now the check is happening in application.
If this command is received while the MainState attribute in [ref_ClosureControlCluster] is currently either in Disengaged, Protected, Calibrating, SetupRequired or Error, then a status code of INVALID_IN_STATE shall be returned.