-
Notifications
You must be signed in to change notification settings - Fork 33
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
📌 Pull Request: Refactor & Enhance dbus-opendtu #227
base: main
Are you sure you want to change the base?
Commits on Nov 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5053731 - Browse repository at this point
Copy the full SHA 5053731View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f24b5e - Browse repository at this point
Copy the full SHA 3f24b5eView commit details -
Refactor test_dbus-opendtu.py to remove unused mock_constants paramet…
…er in test_register_service method
Configuration menu - View commit details
-
Copy full SHA for d21f513 - Browse repository at this point
Copy the full SHA d21f513View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c2c3a7 - Browse repository at this point
Copy the full SHA 6c2c3a7View commit details
Commits on Nov 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1e1190b - Browse repository at this point
Copy the full SHA 1e1190bView commit details -
Refactor test_dbus-opendtu.py to remove unused mock_constants paramet…
…er in test_register_service method
Configuration menu - View commit details
-
Copy full SHA for 9642657 - Browse repository at this point
Copy the full SHA 9642657View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52e3275 - Browse repository at this point
Copy the full SHA 52e3275View commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f531c41 - Browse repository at this point
Copy the full SHA f531c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5790d95 - Browse repository at this point
Copy the full SHA 5790d95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4e41d - Browse repository at this point
Copy the full SHA 0e4e41dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e3014 - Browse repository at this point
Copy the full SHA a8e3014View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbf7e7d - Browse repository at this point
Copy the full SHA bbf7e7dView commit details -
move code to add sign_of_life_all_services function and use it to sen…
…d a 'sign of life' signal to all services
Configuration menu - View commit details
-
Copy full SHA for d2ac513 - Browse repository at this point
Copy the full SHA d2ac513View commit details -
Refactor file paths to use underscore instead of hyphen in dbus_opend…
…tu.py and restart.sh
Configuration menu - View commit details
-
Copy full SHA for f806c56 - Browse repository at this point
Copy the full SHA f806c56View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7367b1 - Browse repository at this point
Copy the full SHA f7367b1View commit details
Commits on Nov 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2bb1f02 - Browse repository at this point
Copy the full SHA 2bb1f02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a43f11 - Browse repository at this point
Copy the full SHA 6a43f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca51d2 - Browse repository at this point
Copy the full SHA 1ca51d2View commit details
Commits on Nov 16, 2024
-
Add coverage configuration and script
- Add .coveragerc file to control coverage.py and exclude certain directories from coverage analysis. - Add run_coverage.sh script to run unit tests with coverage and generate coverage report.
Configuration menu - View commit details
-
Copy full SHA for 6370a8e - Browse repository at this point
Copy the full SHA 6370a8eView commit details -
Refactor code and improve error handling
Move functions to helpers instead of constants, add unit tests, and improve function to handle cases where there are no inverters or templates to query. Also, remove the dependency on running tests within the main function.
Configuration menu - View commit details
-
Copy full SHA for 3645b52 - Browse repository at this point
Copy the full SHA 3645b52View commit details -
Configuration menu - View commit details
-
Copy full SHA for a52c72d - Browse repository at this point
Copy the full SHA a52c72dView commit details
Commits on Nov 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1807484 - Browse repository at this point
Copy the full SHA 1807484View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2294c0e - Browse repository at this point
Copy the full SHA 2294c0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d4dc24 - Browse repository at this point
Copy the full SHA 9d4dc24View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad73463 - Browse repository at this point
Copy the full SHA ad73463View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25104b3 - Browse repository at this point
Copy the full SHA 25104b3View commit details
Commits on Nov 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dc11282 - Browse repository at this point
Copy the full SHA dc11282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 671e87f - Browse repository at this point
Copy the full SHA 671e87fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dda5731 - Browse repository at this point
Copy the full SHA dda5731View commit details -
Refactored _read_config_dtu method and removed unreachable code
- Removed unreachable code in the _read_config_dtu method. - Clarified the logic for reading the DTU variant and other configuration values. - Ensured that the DTU variant is either constants.DTUVARIANT_OPENDTU or constants.DTUVARIANT_AHOY, raising an error otherwise. - Improved readability and maintainability of the code.
Configuration menu - View commit details
-
Copy full SHA for ee69fd3 - Browse repository at this point
Copy the full SHA ee69fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6c094f - Browse repository at this point
Copy the full SHA c6c094fView commit details -
Add test to verify that number_of_inverters are set
- Added a new test case to verify that the number of inverters is correctly set in the DbusService. - Configured the test with a specific DTU variant and number of inverters. - Used mocking to simulate the configuration and requests. - Included assertions to validate the expected behavior.
Configuration menu - View commit details
-
Copy full SHA for dff4727 - Browse repository at this point
Copy the full SHA dff4727View commit details