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 {