diff --git a/src/components/ZclEndpointCard.vue b/src/components/ZclEndpointCard.vue index df50233730..ad427fe34d 100644 --- a/src/components/ZclEndpointCard.vue +++ b/src/components/ZclEndpointCard.vue @@ -506,7 +506,8 @@ export default { showParentEndpointIdentifier: { get() { return ( - this.getDeviceCategory(this.deviceType[0].packageRef) === 'matter' + this.getDeviceCategory(this.deviceType[0].packageRef) === + dbEnum.helperCategory.matter ) } }, @@ -518,9 +519,9 @@ export default { showProfileId: { get() { return ( - this.getDeviceCategory(this.deviceType[0].packageRef) === 'zigbee' && - this.$store.state.zap.isProfileIdShown && - this.enableProfileId + this.getDeviceCategory(this.deviceType[0].packageRef) === + dbEnum.helperCategory.zigbee && + this.$store.state.zap.isProfileIdShown ) } },