Skip to content

Commit

Permalink
components/esp-matter: Fix the inconsistencies in door lock sensor
Browse files Browse the repository at this point in the history
Fixes #1087
  • Loading branch information
shubhamdp committed Sep 23, 2024
1 parent 131c1ae commit 9a509d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/esp_matter/esp_matter_attribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ namespace attribute {
attribute_t *create_lock_state(cluster_t *cluster, nullable<uint8_t> value);
attribute_t *create_lock_type(cluster_t *cluster, uint8_t value);
attribute_t *create_actuator_enabled(cluster_t *cluster, bool value);
attribute_t *create_door_state(cluster_t *cluster, uint8_t value);
attribute_t *create_door_state(cluster_t *cluster, nullable<uint8_t> value);
attribute_t *create_door_open_events(cluster_t *cluster, uint32_t value);
attribute_t *create_door_close_events(cluster_t *cluster, uint32_t value);
attribute_t *create_open_period(cluster_t *cluster, uint16_t value);
Expand Down
2 changes: 1 addition & 1 deletion components/esp_matter/esp_matter_feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4064,7 +4064,7 @@ uint32_t get_id()
return (uint32_t)DoorLock::Feature::kDoorPositionSensor;
}

esp_err_t add(cluster_t *cluster, config_t *config)
esp_err_t add(cluster_t *cluster)
{
if (!cluster) {
ESP_LOGE(TAG, "Cluster cannot be NULL");
Expand Down

0 comments on commit 9a509d4

Please sign in to comment.