[zigbee] Add on_start automation (3/3) - #18009
Conversation
|
To use the changes from this PR as an external component, add the following to your ESPHome configuration YAML file: external_components:
- source: github://pr#18009
components: [zigbee]
refresh: 1h(Added by the PR bot) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #18009 +/- ##
=======================================
Coverage 87.28% 87.28%
=======================================
Files 64 64
Lines 14697 14697
Branches 2217 2217
=======================================
+ Hits 12828 12829 +1
+ Misses 1560 1558 -2
- Partials 309 310 +1 🚀 New features to boost your workflow:
|
Memory Impact AnalysisComponents:
🔍 Symbol-Level Changes (click to expand)Changed Symbols
New Symbols (top 15)
Removed Symbols (top 15)
This analysis runs automatically when components change. Memory usage is measured from a representative test configuration.
Contributor
Author
Contributor
Contributor
Author
3 tasks
luar123
marked this pull request as ready for review
Contributor
19 tasks
Member
Contributor
There was a problem hiding this comment. Pull request overviewAdds a new Changes:
Reviewed changesCopilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment. Show a summary per file
Contributor
Contributor
esphbot
approved these changes
Contributor
There was a problem hiding this comment. Tip No blocking issues found — ready to merge.
swoboda1337
reviewed
Contributor
Author
Member
Contributor
Author
Call on_start_ only if status is RET_OK.
swoboda1337
approved these changes
Member
Member
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
|
What does this implement/fix?
Add on_start automation. On esp32 register_device is very slow and runs outside of setup, so it makes sense to have a signal once the stack is fully initialized and could be interacted with. Will be used by the time component.
Third PR, depends on #18008
Types of changes
Related issue or feature (if applicable):
Pull request in esphome.io with documentation (if applicable):
Pull request in developers.esphome.io with developer documentation (if applicable):
Test Environment
Example entry for
config.yaml:Checklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: