@@ -1390,8 +1390,8 @@ const int function_flags = CLUSTER_FLAG_NONE;
1390
1390
1391
1391
cluster_t *create (endpoint_t *endpoint, config_t *config, uint8_t flags)
1392
1392
{
1393
- cluster_t *cluster = cluster::create (endpoint, HepaFilterMonitoring ::Id, flags);
1394
- VerifyOrReturnValue (cluster, NULL , ESP_LOGE (TAG, " Could not create cluster. cluster_id: 0x%08" PRIX32, HepaFilterMonitoring ::Id));
1393
+ cluster_t *cluster = cluster::create (endpoint, ActivatedCarbonFilterMonitoring ::Id, flags);
1394
+ VerifyOrReturnValue (cluster, NULL , ESP_LOGE (TAG, " Could not create cluster. cluster_id: 0x%08" PRIX32, ActivatedCarbonFilterMonitoring ::Id));
1395
1395
1396
1396
if (flags & CLUSTER_FLAG_SERVER) {
1397
1397
if (config -> delegate != nullptr ) {
@@ -2029,21 +2029,21 @@ const function_generic_t function_list[] = {
2029
2029
const int function_flags = CLUSTER_FLAG_INIT_FUNCTION;
2030
2030
2031
2031
static bool check_feature_map (uint32_t features) {
2032
- if ((features & feature::other::get_id ()) == feature::other::get_id ())
2032
+ if ((features & feature::other::get_id ()) == feature::other::get_id ())
2033
2033
return true ;
2034
- if ((features & feature::passive_infrared::get_id ()) == feature::passive_infrared::get_id ())
2034
+ if ((features & feature::passive_infrared::get_id ()) == feature::passive_infrared::get_id ())
2035
2035
return true ;
2036
- if ((features & feature::ultrasonic::get_id ()) == feature::ultrasonic::get_id ())
2036
+ if ((features & feature::ultrasonic::get_id ()) == feature::ultrasonic::get_id ())
2037
2037
return true ;
2038
- if ((features & feature::physical_contact::get_id ()) == feature::physical_contact::get_id ())
2038
+ if ((features & feature::physical_contact::get_id ()) == feature::physical_contact::get_id ())
2039
2039
return true ;
2040
- if ((features & feature::active_infrared::get_id ()) == feature::active_infrared::get_id ())
2040
+ if ((features & feature::active_infrared::get_id ()) == feature::active_infrared::get_id ())
2041
2041
return true ;
2042
- if ((features & feature::radar::get_id ()) == feature::radar::get_id ())
2042
+ if ((features & feature::radar::get_id ()) == feature::radar::get_id ())
2043
2043
return true ;
2044
- if ((features & feature::rf_sensing::get_id ()) == feature::rf_sensing::get_id ())
2044
+ if ((features & feature::rf_sensing::get_id ()) == feature::rf_sensing::get_id ())
2045
2045
return true ;
2046
- if ((features & feature::vision::get_id ()) == feature::vision::get_id ())
2046
+ if ((features & feature::vision::get_id ()) == feature::vision::get_id ())
2047
2047
return true ;
2048
2048
return false ;
2049
2049
}
0 commit comments