-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Modbus Controller] Added on_online
and on_offline
automation
#7417
Conversation
…`modbus_controller`.
Hey there @martgras, mind taking a look at this pull request as it has been labeled with an integration ( |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #7417 +/- ##
==========================================
+ Coverage 53.70% 53.77% +0.06%
==========================================
Files 50 50
Lines 9408 9804 +396
Branches 1654 1354 -300
==========================================
+ Hits 5053 5272 +219
- Misses 4056 4206 +150
- Partials 299 326 +27 ☔ View full report in Codecov by Sentry. |
Wonderful! These will be extremely useful by the time setting the entity availability will be possible!! |
Anyone in this? @martgras? Thanks |
I was about to merge, you didnt need to merge dev in again 🤣 |
Oops... |
What does this implement/fix?
Added
on_online
andon_offline
automation tomodbus_controller
. In some cases, you need to configure the module when it goes back online, the offline automation is a bonus just in case.Types of changes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#4231
Test Environment
Example entry for
config.yaml
:Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: