- Not showing incorrect warnings for endpoint 0 (#1670)

- JIRA: ZAPP-1642
diff --git a/src-electron/importexport/import-json.js b/src-electron/importexport/import-json.js
index c190765..e5b2986 100644
--- a/src-electron/importexport/import-json.js
+++ b/src-electron/importexport/import-json.js
@@ -1202,7 +1202,7 @@
             deviceTypeAttributesOnEndpointType[dta].deviceTypeRef
           )
           // Not throwing attribute warnings for an optional cluster's attributes when it is not enabled
-          if (endpointId) {
+          if (typeof endpointId === 'number') {
             // This check is kept for a backwards compatibility reason where endpoint types and endpoints are not in sync
             let endpointTypeCluster =
               await queryEndpointType.selectEndpointTypeClusterFromEndpointIdentifierAndAttributeRef(