Repository navigation
Get modbus unit(s) from HA - #1146
WillCodeForCats wants to merge 15 commits into
Conversation
Obsoletes _check_dependency_versions since we're using modbus from core.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
This will go into a 4.1.0 release with #1146 which needs min HA to 2026.10
This is a first attempt at using the new Modbus connections added in HA 2026.10 where the core modbus integration hands out units over connections it shares, and changes solaredge-modbus-multi to ask it for all of our Device IDs instead of building our own connection.
Unlike the core solaredge-modbus integration which treats each inverter as a separate device, we are gathering all inverters into a
SharedUnitsclass and polling them together as a single system (our preferred method of working with leader/follower systems). Although this doesn't appear to be the design intent forasync_get_unit(), our experience here is that leader/follower inverters should be treated as a single system, not like individual devices on a bus.This requires HA 2026.10 and drops requirements for
modbus-connectionandtmodbussince we're now gettingmodbusfrom core.Summary by CodeRabbit