This custom component allows you to seamlessly integrate Renpho's weight scale into Home Assistant. Get real-time updates on your weight, BMI, body fat percentage, and other health metrics right on your Home Assistant dashboard.
Description: This PR fixes a bug that caused the application to crash when a user clicked a specific button. The bug was due to a null pointer exception.
Dependencies: None
Visual Support
(Please include an image or GIF here if applicable. For example, a screenshot showing the bug fix in action.)
Type of Change
[x] Bug Fix (non-breaking change which fixes an issue)
Testing
How Has This Been Tested?
Manually tested the application on different platforms.
Test Configuration:
Operating System: Linux Ubuntu 20.04
Hardware: Standard x64 architecture
Toolchain: GCC 9.3
SDK: None
Environment: Codespace
Tests Run:
[x] Test A: Checked if button click no longer causes a crash.
[x] Test B: Ran existing unit tests to ensure no regression.
Checklist
[x] Code adheres to the project's style guidelines
[x] Self-reviewed the code
[x] Code comments added for hard-to-understand logic
[x] Updated the documentation accordingly
[x] No new warnings generated
[x] Added tests to prove fix or feature
[x] All new and existing tests passed
[x] Dependent changes have been merged and published in downstream modules
Pull Request Details
Summary
Visual Support
(Please include an image or GIF here if applicable. For example, a screenshot showing the bug fix in action.)
Type of Change
Testing
How Has This Been Tested?
Test Configuration:
Tests Run:
Checklist