-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature/string inverters #86
base: master
Are you sure you want to change the base?
Conversation
… methods Modified `async_read_input_register`, `async_read_holding_register`, `async_write_holding_register`, and `async_write_holding_registers` to log errors and return None instead of raising exceptions, ensuring smoother error handling without interruptions in execution.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
closes #84 #58 #79
PR Type
enhancement, bug fix
Description
Changes walkthrough 📝
config_flow.py
Add support for string inverters in config flow
custom_components/solis_modbus/config_flow.py
hybrid_sensors.py
Define hybrid sensors for Solis inverters
custom_components/solis_modbus/data/hybrid_sensors.py
attributes.
string_sensors.py
Define string sensors for Solis inverters
custom_components/solis_modbus/data/string_sensors.py
number.py
Skip number setup for string inverters
custom_components/solis_modbus/number.py
sensor.py
Refactor sensor setup for hybrid and string inverters
custom_components/solis_modbus/sensor.py
switch.py
Skip switch setup for string inverters
custom_components/solis_modbus/switch.py
time.py
Skip time setup for string inverters
custom_components/solis_modbus/time.py
modbus_controller.py
Enhance error handling in Modbus controller
custom_components/solis_modbus/modbus_controller.py