From 2180949a985e58084c4652f4f6c0a603d78042f2 Mon Sep 17 00:00:00 2001 From: Jiacheng Guo Date: Sat, 19 Jun 2021 05:24:58 +0800 Subject: [PATCH] [esp32] Remove ON_LEVEL attribute access (#7744) This attribute does take effect for the time being. --- examples/all-clusters-app/esp32/main/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/all-clusters-app/esp32/main/main.cpp b/examples/all-clusters-app/esp32/main/main.cpp index 123a744ec0fe55..ed6569e8d16bb2 100644 --- a/examples/all-clusters-app/esp32/main/main.cpp +++ b/examples/all-clusters-app/esp32/main/main.cpp @@ -372,8 +372,6 @@ void SetupInitialLevelControlValues(chip::EndpointId endpointId) emberAfWriteAttribute(endpointId, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_CURRENT_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level, ZCL_DATA8_ATTRIBUTE_TYPE); - emberAfWriteAttribute(endpointId, ZCL_LEVEL_CONTROL_CLUSTER_ID, ZCL_ON_LEVEL_ATTRIBUTE_ID, CLUSTER_MASK_SERVER, &level, - ZCL_DATA8_ATTRIBUTE_TYPE); } void SetupPretendDevices()