-
-
Notifications
You must be signed in to change notification settings - Fork 305
Tuya - Add support for LSC Power Plug FR smart socket - PR7 #2476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Terdious
wants to merge
98
commits into
GladysAssistant:master
Choose a base branch
from
Terdious:tuya-lsc-power-plug-fr-power-meter
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 94 commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
11cb7ed
add cloud discovery metadata
Terdious db22529
add local discovery metadata
Terdious ff5d001
Corrige les URL de l'API locale et du WebSocket pour utiliser localhost
Terdious ab28de0
feat: enhance Tuya device support with air conditioning and power met…
Terdious d9598ca
refactor: remove air conditioning model and related mappings; simplif…
Terdious 3612b9c
feat: add local polling and scanning tests for TuyaHandler
Terdious 7ea3468
refactor: simplifier la logique de poll local et améliorer la lisibil…
Terdious e2d7189
refactor: améliorer la logique de chargement des appareils Tuya et me…
Terdious 5f2d2a5
fix: corriger la logique de pagination dans loadDevices et ajouter un…
Terdious ebd3dc3
refactor: améliorer la logique de mise à jour des appareils découvert…
Terdious a3f8359
feat: ajouter des descriptions et des limitations pour la configurati…
Terdious 50e1122
feat: ajouter les champs Product ID et Product Key dans la configurat…
Terdious 513e2d0
refactor: améliorer la journalisation dans le processus de scan local…
Terdious 389d231
logger
Terdious 36dfd91
refactor: améliorer la gestion des erreurs du socket UDP dans le scan…
Terdious b8e1a9f
refactor: mettre à jour la méthode de liaison des sockets pour permet…
Terdious 8d2536f
feat: améliorer le scan local des appareils Tuya avec gestion des err…
Terdious a0243b6
feat: mettre à jour les descriptions de configuration Tuya pour inclu…
Terdious 70c7d4a
feat: ajouter des messages d'information sur le protocole 3.5 et la c…
Terdious 3fd0232
feat(tuya): enhance Tuya integration with connection status and manua…
Terdious 8082994
Merge branch 'master' into tuya-local-baseline
Terdious 588225e
feat(tuya): améliorer les tests pour la gestion des connexions et des…
Terdious 924e098
Merge branch 'master' into tuya-local-baseline
Terdious cc0010e
feat(tuya): enhance device discovery and local polling
Terdious b6cb28b
feat(tuya): améliorer la gestion des informations locales des apparei…
Terdious 52a54b2
feat(tuya): traduire les clés de produit et améliorer les messages de…
Terdious ae8a1d6
feat(tuya): améliorer la gestion des erreurs et des messages de débog…
Terdious c68075d
feat(tuya): nettoyer les messages de débogage et améliorer la gestion…
Terdious b2ee166
Merge branch 'master' into tuya-local-baseline
Terdious c5edbbc
ci: rerun
Terdious c65e264
feat(tuya): ajouter le support de l'UID du compte d'application Tuya,…
Terdious 1f07038
feat(tuya): améliorer la gestion de la configuration Tuya en ajoutant…
Terdious 021176d
feat(tuya): optimiser la récupération des paramètres Tuya en utilisan…
Terdious 01700bb
feat(tuya): finalize v2 local baseline ux and local discovery updates
Terdious 3c0de0c
test(tuya): avoid unhandled rejection warning in local poll timeout
Terdious 92a913f
refactor(tuya): normalize booleans and stabilize base conversions
Terdious 906e124
Merge branch 'master' into tuya-local-baseline
Terdious 1d1fda4
feat(tuya): add local protocol 3.5 support with newgen api
Terdious e3b95f0
fix(tuya): resolve prefer-const in local scan parser
Terdious 74b081e
chore(tuya): remove obsolete protocol 3.5 unsupported i18n keys
Terdious 50ac347
codecov: rerun
Terdious 0a9f835
feat(tuya): add mapping core for cloud/local smart socket support
Terdious f82cc73
fix: prettier
Terdious 29b7723
test(tuya): cover local scan branch when parsers fail
Terdious 27152bc
test(tuya): improve mapping and poll branch coverage
Terdious d8fab71
feat(tuya): restore GitHub issue reporting flow in discover
Terdious e66e53c
style(tuya): format TuyaDeviceBox with project prettier
Terdious c49d6e9
fix(tuya): harden init reconnect flag and thing model parsing
Terdious 546b901
fix(tuya): avoid stale state reads in setup save flow
Terdious b67b2a8
chore(front): apply prettier formatting on tuya setup tab
Terdious 515c9a9
test(tuya): prefer await style in local poll timeout test
Terdious d4a747c
fix(tuya): align mapping-core with baseline/protocol hardening
Terdious a57fc3c
chore(front): apply prettier formatting on tuya setup tab
Terdious a81f8ad
fix(tuya): harden setup state updates and fix disconnect log typo
Terdious de85694
fix(tuya): harden mapping-core poll and specification extraction
Terdious 6a5eb55
fix(tuya): harden mapping core for thing model fallback and scaled va…
Terdious 2a77646
test(tuya): cover generic mapping core guards
Terdious 3b22df1
feat(tuya): add smart meter support and fixture-based tests
Terdious 8d6792a
style(tuya): fix smart meter fixture lint and formatting
Terdious f2c785c
fix(tuya): avoid stale device state in local poll
Terdious 53d9f8b
fix(tuya): align feature code parsing and test labels
Terdious cdfe22c
fix(tuya): move setup side effects to componentDidMount
Terdious 8f2657a
fix(tuya): surface setup variable fetch failures
Terdious 129aa4b
fix(tuya): harden type detection and poll handling
Terdious 8d393ec
test(tuya): align fixture branch regression coverage
Terdious 9863511
fix(tuya): harden poll readers and regression tests
Terdious 94d96ce
fix(tuya): preserve latest params after local poll
Terdious ec26853
fix(tuya): harden baseline setup and cloud loading
Terdious c55a6e1
fix(tuya): improve setup alerts and baseline test isolation
Terdious 74138b5
fix(tuya): sanitize local timeouts and persist local-only devices
Terdious 47130ac
fix(tuya): harden mapping normalization and poll fallback
Terdious ae8b01b
fix(tuya): harden fixture tests and device diagnostics
Terdious b88e723
style(tuya): apply frontend formatting on device box
Terdious dc58f5c
fix(tuya): open github issue popup before async check
Terdious fd11ac1
fix(tuya): harden setup status and local scan follow-up
Terdious d4479c5
fix(tuya): apply follow-up hardening adjustments
Terdious fa06ada
feat(tuya): improve unsupported device issue reports
Terdious 33d861e
fix(tuya): refine unsupported cloud code detection
Terdious b226e5d
refactor(tuya): align frontend boolean helper imports
Terdious 754dd35
docs(tuya): clarify unsupported device onboarding guidance
Terdious 85f643c
test(tuya): align smart meter fixtures with issue captures
Terdious 359fdd7
docs(tuya): improve unsupported device guidance
Terdious 124b341
Add support for LSC Power Plug FR smart socket
Terdious b2cc02d
Fix Tuya loadDeviceDetails null-report test
Terdious b483099
Refine Tuya smart socket ignored mappings
Terdious 3171274
test(tuya): harden local scan and cloud loading cases
Terdious e5269db
feat(tuya): support cloud shadow reads for thing-model devices
Terdious 766d717
test(tuya): align LSC smart socket fixture cloud strategy
Terdious a146871
server test: rerun
Terdious 547f05c
fix(tuya): handle unreachable local devices cleanly
Terdious fe50d6f
tuya: fix smart meter detection and rebuild features after local poll
Terdious 03fa9b3
refactor(front/tuya): split device box sections and simplify helpers
Terdious be7b38d
fix prettier
Terdious e486f97
fix(tuya): harden local poll for protocol 3.4
Terdious c88d242
feat(tuya): fix smart meter scaling and add export index type
Terdious 73ace73
test(tuya): cover convertDevice and report/cloudStrategy branches
Terdious 9a05ae8
fix scale
Terdious 44fe379
fix(tuya): avoid empty feature payload on local update
Terdious File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use “App Account UID” consistently in the label and placeholder.
Line 1288/Line 1289 use “User ID”, while nearby keys/messages are UID-based (
errorInvalidAppAccountUid, setup descriptions). This can confuse users.✏️ Suggested wording adjustment
📝 Committable suggestion
🤖 Prompt for AI Agents