@@ -3316,7 +3316,7 @@ attribute_t *create_occupancy_sensor_type_bitmap(cluster_t *cluster, uint8_t val
3316
3316
namespace boolean_state {
3317
3317
namespace attribute {
3318
3318
3319
- attribute_t *state_value (cluster_t *cluster, bool value)
3319
+ attribute_t *create_state_value (cluster_t *cluster, bool value)
3320
3320
{
3321
3321
return esp_matter::attribute::create (cluster, BooleanState::Attributes::StateValue::Id, ATTRIBUTE_FLAG_NONE,
3322
3322
esp_matter_bool (value));
@@ -3325,6 +3325,59 @@ attribute_t *state_value(cluster_t *cluster, bool value)
3325
3325
} /* attribute */
3326
3326
} /* boolean_state */
3327
3327
3328
+ namespace boolean_state_configuration {
3329
+ namespace attribute {
3330
+ attribute_t *create_current_sensitivity_level (cluster_t *cluster, uint8_t value)
3331
+ {
3332
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::CurrentSensitivityLevel::Id, ATTRIBUTE_FLAG_NONVOLATILE,
3333
+ esp_matter_uint8 (value));
3334
+ }
3335
+
3336
+ attribute_t *create_supported_sensitivity_levels (cluster_t *cluster, const uint8_t value)
3337
+ {
3338
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::SupportedSensitivityLevels::Id, ATTRIBUTE_FLAG_NONE,
3339
+ esp_matter_uint8 (value));
3340
+ }
3341
+
3342
+ attribute_t *create_default_sensitivity_level (cluster_t *cluster, const uint8_t value)
3343
+ {
3344
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::DefaultSensitivityLevel::Id, ATTRIBUTE_FLAG_NONE,
3345
+ esp_matter_uint8 (value));
3346
+ }
3347
+
3348
+ attribute_t *create_alarms_active (cluster_t *cluster, uint8_t value)
3349
+ {
3350
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::AlarmsActive::Id, ATTRIBUTE_FLAG_NONE,
3351
+ esp_matter_bitmap8 (value));
3352
+ }
3353
+
3354
+ attribute_t *create_alarms_suppressed (cluster_t *cluster, uint8_t value)
3355
+ {
3356
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::AlarmsSuppressed::Id, ATTRIBUTE_FLAG_NONE,
3357
+ esp_matter_bitmap8 (value));
3358
+ }
3359
+
3360
+ attribute_t *create_alarms_enabled (cluster_t *cluster, uint8_t value)
3361
+ {
3362
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::AlarmsEnabled::Id, ATTRIBUTE_FLAG_NONVOLATILE,
3363
+ esp_matter_bitmap8 (value));
3364
+ }
3365
+
3366
+ attribute_t *create_alarms_supported (cluster_t *cluster, const uint8_t value)
3367
+ {
3368
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::AlarmsSupported::Id, ATTRIBUTE_FLAG_NONE,
3369
+ esp_matter_bitmap8 (value));
3370
+ }
3371
+
3372
+ attribute_t *create_sensor_fault (cluster_t *cluster, uint8_t value)
3373
+ {
3374
+ return esp_matter::attribute::create (cluster, BooleanStateConfiguration::Attributes::SensorFault::Id, ATTRIBUTE_FLAG_NONE,
3375
+ esp_matter_bitmap8 (value));
3376
+ }
3377
+
3378
+ } /* attribute */
3379
+ } /* boolean_state_configuration */
3380
+
3328
3381
namespace localization_configuration {
3329
3382
namespace attribute {
3330
3383
0 commit comments