From 4f8060d896e7eec14a217435010ff90638aa005a Mon Sep 17 00:00:00 2001 From: Paul Regan <64710345+paulr34@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:59:55 -0400 Subject: [PATCH] hot fix for cmp state handling (#1435) --- src/components/ZclEndpointCard.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ZclEndpointCard.vue b/src/components/ZclEndpointCard.vue index 7e9e94c4a3..df50233730 100644 --- a/src/components/ZclEndpointCard.vue +++ b/src/components/ZclEndpointCard.vue @@ -420,7 +420,10 @@ export default { this.$router.push({ path: '/' }) } if (this.$store.state.zap.isMultiConfig) { - if (categoryTmp === dbEnum.helperCategory.zigbee) { + if ( + this.getDeviceCategory(this.deviceType[0].packageRef) === + dbEnum.helperCategory.zigbee + ) { this.$store.state.zap.cmpEnableZigbeeFeatures = true this.$store.state.zap.cmpEnableMatterFeatures = false } else {