Add WLED integration#28542
Conversation
Integration Quality ScaleThe Integration Quality Scale scores each integration based on the code quality and user experience. Each level of the quality scale consists of a list of requirements. If an integration matches all requirements, it's considered to have reached that level. Silver 🥈This integration is able to cope when things go wrong. It will not print any exceptions nor will it fill the log with retry attempts.
Gold 🥇This is a solid integration that is able to survive poor conditions and can be configured via the user interface.
Platinum 🏆Best of the best. The integration is completely async, meaning it's super fast. Integrations that reach platinum level will require approval by the code owner for each PR.
|
|
Please start with the light platform in this PR and move the other platforms to follow up PRs that can come after this is merged. It won't affect the quality scale and we can merge faster. |
|
@MartinHjelmare Done 👍 Edit: commit message is misleading, it removed the "sensor & switch" platform. Oops |
MartinHjelmare
left a comment
There was a problem hiding this comment.
I haven't looked at the tests yet.
|
@MartinHjelmare Done. Processed all review comments. |
MartinHjelmare
left a comment
There was a problem hiding this comment.
We want to use the core interfaces when setting up the tests and patch in the perifery, to make the tests more robust.
|
Done, I'm ready for the next round 😉 No really, thanks, guys! It helps a lot (and I learned a lot again) 👍 |
Description:
Add initial integration for WLED.
https://github.com/Aircoookie/WLED/
WLED is a firmware for ESP8266/ESP32 that allows users to turn such a chip into a LED controller easy, while extremely feature-rich as well.
The current implementation supports auto-discovery, the light (led strip).
While the WLED firmware is far more feature right, this PR aims to be an initial step up.
ℹ️ My aim for this integration is to hit the platinum quality scale. If you think it doesn't hit that, please let me know. (see: Checklist)
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11103
Example entry for
configuration.yaml(if applicable): Config flow only.Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest.requirements_all.txtby runningpython3 -m script.gen_requirements_all..coveragerc.If the code does not interact with devices: