iot-app-kit
iot-app-kit copied to clipboard
chore(scene): try use RESET_VALUE
Overview
Trial of using new API option in aws-sdk/client-iottwinmaker for property update with RESET_VALUE.
Note: new API is not included and this should NOT be merged until API is released and package jsons are properly updated.
Verifying Changes
Have a Dynamic Scene in twinMaker workspace Do AWS Scene Composer storybook scene Try changing in Scene Composer and confirm updates happen to Entiites in twinMaker workspace, especially clearing values to not have values any more. Component Type to Test:
SubModelRef Light ModelShader MotionIndicator Camera ModelRef Overlay Tag
Scene Composer
For scene-composer
package changes specifically, you can preview the component in the published storybook artifact. To do this, wait for the Publish Storybook
action to complete below.
- Click on the workflow details
- Select the Summary item on the left
- Download the zip file
To run the storybook build locally, you need a local static web server:
npm install -g httpserver
cd <Extracted Zip Directory>
httpserver
Then open the website http://localhost:8080 to run the doc site.
Legal
This project is available under the Apache 2.0 License.