- Support multiple device type with primary input (#1040)
- Support multiple device type with array input
- Enabling multiple zcl device types per endpoint
- Unify array usage for DeviceType and DeviceIndentifier
- Updating updateEndpoint and duplicateEndpoint based on the schema change with the introduction of Endpoint_type_device table
- Updating import/export endpoint type apis to handle multiple zcl device types per endpoint
- Updating selectAllEndpointTypes and selectEndpointType such that they update the multiple zcl device types correctly
- Add primary device type selection logic
- Add multi device type modification warning dialog
- Generalize the warning message
- Maintain specific device type ref name, device type code and device type profile id per endpoint for backwards compatibility
- Removing the warning dialog and making sure the the zcl device types per endpoint are updated correctly
- Making sure that the device type clusters are added when an endpoint is edited and a new zcl device type is added to the endpoint
- When loading the old zap files and editing the endpoint the selected devices do not show up in the device UI. Updating deviceIdentifier with this.zclDeviceTypes[deviceTypeRefs[i]].code fixed it
- Add device type identifier and device type revision to endpoint_type_device junction table instead of keeping it in endpoint table such that multiple zcl device types can be added per endpoint. Schema change lead to the rest of the changes in queries for endpoint_type, endpoint_type_device and endpoint tables along with UI changes to vue files, actions and mutations.
- Add multi version option to endpoint card
- Updating device version and device identifier to be in endpoint type instead of endpoint just like device type ref
- Updating db-mapping to have device version and identifier in endpoint_type
- Fixing query-config#updateEndpointType to add the entries properly to endpoint_type and endpoint_type_device tables
- Use endpoint_type_device table in a bunch of queries instead of endpoint_type to get references to device version and identifier
- Fix import isc with the new schema
- Fix edit and update endpoint by fixing httpPatchEndpointType with respect to device version and identifier
- Fix Create endpoint UI and endpoint card such that device identifier and device version can be updated properly through the UI
- Fixing actions and mutations for device version and identifier for an endpoint type such that UI and backend are in sync
- Updating state.js such that device version and identifier are in endpoint type instead of endpoint now
- Fix import issues with the new schema for multiple zcl device types and device version/identifier
- Fixing import and export of .zap files such that saving and re-opening of zap files continues to give the right results when multiple zcl device types are chosen
- Update Cypress tests to support multi device types
- Adding tests for adding multiple zcl device types per endpoint. The tests include adding a new endpoint and editing an existing endpoint
Make device select show selected item at edit mode
- Updating endpoint_fixed_device_type_array helper such that it can include the endpoint identifier as well
- Including isEndpointIncluded such that endpoint_fixed_device_type_array can add the endpoint id as well
- Adding generation tests for endpoint_fixed_device_type_array's update
- Fixing the import of old zap files for device identifier/code, version and profile id.
- Making sure device identifier/code, version and profile id are imported correctly when importing the .zap files
- Fixing the matter workflow which is running into some issues by seperating each of the arguments
- Fixing user_endpoints helper such that endpoints have an associated reference to the device versions and device identifiers
- Fixing helper-endpointconfig.js for endpoint_fixed_device_type_array, endpoint_fixed_device_type_array_offsets and endpoint_fixed_device_type_array_lengths
- The device list is now properly populated with the deviceId, deviceVersion and endpoint Id associated with the device
- Fixing the query-endpoint.js query
- Fixing the device Id test since they are now part of endpoint type instead of endpoint
- Fixing endpoint_fixed_device_type_array_offsets and endpoint_fixed_device_type_array_lengths in helper-endpointconfig.js
- Adding tests for multiple zcl device types per endpoint and addition device type helpers
- Adding a endpointTypeDevice db mapping
- added a query in query-device-type.js to retrieve device type information based on endpoint type id
- Created a helper to iterate over the device types. This can be used within user_endpoints and user_endpoint_types
- Adding testing for the multiple zcl device types per endpoint generation by adding an additional .zap file, modifying the endpoint config template to test new helpers and added tests in gen-matter-4.test.js
- Reverting this change such that the zigbee regen diff check does not break because of this
- Cleaning up user_endpoints such that it is not an async function because turning it into an async currently breaks the after template generation for eg:user_endpoints > after (See zap-event template in zigbee)
Github: ZAP#862
Co-authored-by:
Gergely Kiss <gergely.kiss@silabs.com>
显示
- cypress/integration/check_summary/enabled-attributes.spec.js 0 个添加, 49 个删除cypress/integration/check_summary/enabled-attributes.spec.js
- cypress/integration/check_summary/enabled-clusters.spec.js 0 个添加, 54 个删除cypress/integration/check_summary/enabled-clusters.spec.js
- cypress/integration/clusters/dimmable-light.spec.js 1 个添加, 7 个删除cypress/integration/clusters/dimmable-light.spec.js
- cypress/integration/endpoints/delete-endpoint.spec.js 5 个添加, 3 个删除cypress/integration/endpoints/delete-endpoint.spec.js
- cypress/integration/endpoints/edit-endpoint.spec.js 1 个添加, 0 个删除cypress/integration/endpoints/edit-endpoint.spec.js
- cypress/support/commands.js 3 个添加, 2 个删除cypress/support/commands.js
- docs/zap-schema.svg 2040 个添加, 2217 个删除docs/zap-schema.svg
- package.json 1 个添加, 0 个删除package.json
- src-electron/db/db-mapping.js 18 个添加, 1 个删除src-electron/db/db-mapping.js
- src-electron/db/query-config.js 200 个添加, 53 个删除src-electron/db/query-config.js
- src-electron/db/query-device-type.js 50 个添加, 4 个删除src-electron/db/query-device-type.js
- src-electron/db/query-endpoint-type.js 97 个添加, 28 个删除src-electron/db/query-endpoint-type.js
- src-electron/db/query-endpoint.js 59 个添加, 49 个删除src-electron/db/query-endpoint.js
- src-electron/db/query-impexp.js 130 个添加, 87 个删除src-electron/db/query-impexp.js
- src-electron/db/zap-schema.sql 20 个添加, 5 个删除src-electron/db/zap-schema.sql
- src-electron/generator/helper-endpointconfig.js 66 个添加, 26 个删除src-electron/generator/helper-endpointconfig.js
- src-electron/generator/helper-session.js 52 个添加, 8 个删除src-electron/generator/helper-session.js
- src-electron/importexport/import-isc.js 8 个添加, 0 个删除src-electron/importexport/import-isc.js
- src-electron/importexport/import.js 22 个添加, 0 个删除src-electron/importexport/import.js
- src-electron/rest/endpoint.js 22 个添加, 19 个删除src-electron/rest/endpoint.js
加载中
想要评论请 注册 或 登录