components/esp-matter: conformance fixes for thermostat cluster

- moved cluster revision from 8 to 9
- thermostat cluster has schedule and preset attributes with quality T
  i.e. atomic. It requires the cluster to implement atomic-request and
  atomic-response command.
This commit is contained in:
Shubham Patil
2025-08-28 18:49:29 +05:30
parent a40259cd96
commit 16f51d2b9c
4 changed files with 32 additions and 1 deletions
@@ -1342,6 +1342,13 @@ cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags)
/* Commands */
command::create_setpoint_raise_lower(cluster);
// matter_schedule_configuration and presets contains the attributes with T i.e. atomic quality
// hence, we need to create the atomic request and response commands
if (has(feature::matter_schedule_configuration::get_id()) || has(feature::presets::get_id())) {
command::create_atomic_request(cluster);
command::create_atomic_response(cluster);
}
return cluster;
}
} /* thermostat */