components/esp_matter: add closure_control cluster in esp_matter

This commit is contained in:
mahesh
2025-12-03 12:40:39 +05:30
parent 716d1eadf5
commit 18a201cd18
13 changed files with 442 additions and 0 deletions
@@ -3013,5 +3013,28 @@ command_t *create_play_chime_sound(cluster_t *cluster)
} /* command */
} /* chime */
namespace closure_control {
namespace command {
command_t *create_stop(cluster_t *cluster)
{
return esp_matter::command::create(cluster, ClosureControl::Commands::Stop::Id,
COMMAND_FLAG_ACCEPTED, NULL);
}
command_t *create_move_to(cluster_t *cluster)
{
return esp_matter::command::create(cluster, ClosureControl::Commands::MoveTo::Id,
COMMAND_FLAG_ACCEPTED, NULL);
}
command_t *create_calibrate(cluster_t *cluster)
{
return esp_matter::command::create(cluster, ClosureControl::Commands::Calibrate::Id,
COMMAND_FLAG_ACCEPTED, NULL);
}
} /* command */
} /* closure_control */
} /* cluster */
} /* esp_matter */