Tuya Integration - #593
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR significantly expands and restructures the Tuya integration documentation include, adding an architecture section/diagram and more detailed setup + validation guidance, while removing previously downloadable converter JSON resources.
Changes:
- Rewrites the Tuya integration tutorial flow (Tuya account/project setup, message service + messaging rules, integration + rule chain setup, testing, troubleshooting).
- Adds a new architecture diagram (
tuya-integration-architecture.svg) and references it from the docs. - Removes legacy downloadable uplink/downlink converter JSON files from
public/resources/docs/integrations/tuya/.
Reviewed changes
Copilot reviewed 5 out of 58 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| src/content/_includes/docs/user-guide/integrations/tuya.mdx | Major rewrite/expansion of the Tuya integration guide, including architecture, setup, testing, and troubleshooting; switches to inline converter scripts. |
| src/assets/images/user-guide/integrations/tuya-integration-architecture.svg | Adds a new architecture diagram used by the Tuya integration docs. |
| public/resources/docs/integrations/tuya/tuya_tbel_uplink_converter.json | Removes legacy downloadable converter JSON (no longer referenced from the updated docs). |
| public/resources/docs/integrations/tuya/tuya_tbel_downlink_converter.json | Removes legacy downloadable converter JSON (no longer referenced from the updated docs). |
| public/resources/docs/integrations/tuya/tuya_javascript_uplink_converter.json | Removes legacy downloadable converter JSON (no longer referenced from the updated docs). |
| public/resources/docs/integrations/tuya/tuya_javascript_downlink_converter.json | Removes legacy downloadable converter JSON (no longer referenced from the updated docs). |
Suppressed comments (1)
src/content/_includes/docs/user-guide/integrations/tuya.mdx:255
- The JavaScript decoder example also doesn't handle the
{ data: {...} }wrapper described below, and it doesn't apply the samebizData.devIdfallback used elsewhere. This can prevent device provisioning if Tuya sends the wrapped payload or a message type that only includesbizData.devId.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of change
src/content/docs/**)src/content/_includes/**)src/components/**,src/styles/**)src/pages/**,src/data/**)src/data/redirects.ts)releaseskill)Affected products
Related issues
Checklist
pnpm checkpasses (Astro / TypeScript)pnpm lint:eslintpassespnpm lint:slugcheckpasses (required if pages were added/renamed/moved across languages)pnpm lint:linkcheckpasses locally — required to merge; run it before requesting review (usepnpm lint:linkcheck:nobuildif you already ran a build)src/data/redirects.ts, andpnpm generate:redirectswas runsrc/data/versions.ts