angler
(Cezary.K)
19 Styczeń 2025 06:30
28
Tuya “otworzyła się” jakiś czas temu na deweloperów społeczności HA aby pomagali pisać dla ich urządzeń integracje. Ale ci ochotnicy też zaczynają się buntować i porzucają tę niewolniczą pracę zdając sobie sprawę, że zostali wykorzystani daną nadzieją pomocy innym. Tak naprawdę ta firma nigdy nie miała na celu stworzenia jednolitego ekosystemu. Teraz odradzają używanie ich oprogramowania i pojawił się nawet taki wpis od jednego z nich.
home-assistant:dev
← home-assistant:frenck-2024-0696
opened 11:01PM - 23 Dec 24 UTC
## Proposed change
**The following is my personal opinion.**
I've fixed/… written/refactored large parts of the Tuya integration; the fact remains, Tuya isn't fixable.
### Please don't **EVER** buy Tuya stuff
It is just junk; their API is inconsistent, and device manufacturers customize their devices even more. No matter how many issues, PRs, or anything else: Tuya is simply not fixable, as their spec and software are simply a shitshow.
If you do get a device (or have one), make sure you can flash it or try to flash it with ESPHome or anything else.
I'm removing myself as integration owner, as my efforts have been useless and pretty exhausting, to be honest. I still think there are ways to achieve a usable integration (using quirks kinda things in between), but the mountains of work to make that happen for all the off-key Tuya devices out there feel like a mission impossible right now. Then again, having to add such a thing for an API provided by a single manufacturer is just weird to start with.
Maybe things will turn around in the future; right now, I just want fewer notifications about Tuya issues in my inbox.
## Type of change
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New integration (thank you!)
- [ ] New feature (which adds functionality to an existing integration)
- [ ] Deprecation (breaking change to happen in the future)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [x] Code quality improvements to existing code or addition of tests
## Additional information
- This PR fixes or closes issue: fixes #
- This PR is related to issue:
- Link to documentation pull request:
## Checklist
- [x] The code change is tested and works locally.
- [x] Local tests pass. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
- [x] I have followed the [perfect PR recommendations][perfect-pr]
- [ ] The code has been formatted using Ruff (`ruff format homeassistant tests`)
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
If the code communicates with devices, web services, or third-party tools:
- [ ] The [manifest file][manifest-docs] has all fields filled out correctly.
Updated and included derived files by running: `python3 -m script.hassfest`.
- [ ] New or updated dependencies have been added to `requirements_all.txt`.
Updated by running `python3 -m script.gen_requirements_all`.
- [ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
To help with the load of incoming pull requests:
- [x] I have reviewed two other [open pull requests][prs] in this repository.
[prs]: https://github.com/home-assistant/core/pulls?q=is%3Aopen+is%3Apr+-author%3A%40me+-draft%3Atrue+-label%3Awaiting-for-upstream+sort%3Acreated-desc+review%3Anone+-status%3Afailure
[dev-checklist]: https://developers.home-assistant.io/docs/development_checklist/
[manifest-docs]: https://developers.home-assistant.io/docs/creating_integration_manifest/
[quality-scale]: https://developers.home-assistant.io/docs/integration_quality_scale_index/
[docs-repository]: https://github.com/home-assistant/home-assistant.io
[perfect-pr]: https://developers.home-assistant.io/docs/review-process/#creating-the-perfect-pr
1 polubienie