Skip to content

Dimo sdk 1.8.0#267

Merged
ardevd merged 3 commits into
mainfrom
dimo-sdk-1.8.0
Mar 15, 2026
Merged

Dimo sdk 1.8.0#267
ardevd merged 3 commits into
mainfrom
dimo-sdk-1.8.0

Conversation

@ardevd

@ardevd ardevd commented Mar 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

ardevd added 2 commits March 10, 2026 21:41
Added comprehensive test cases for `DimoSensorEntity` and `DimoVehicleSensorEntity`
including value formatting, unit mapping, and error handling for missing values.
Update dimo-python-sdk dependency from 1.6.0 to 1.8.0 in both the integration manifest and test requirements.
@ardevd ardevd self-assigned this Mar 15, 2026
Copilot AI review requested due to automatic review settings March 15, 2026 20:30
@ardevd ardevd added the enhancement New feature or request label Mar 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the DIMO Home Assistant integration to use dimo-python-sdk==1.8.0 and adds unit tests covering the sensor entity value/unit extraction logic.

Changes:

  • Bump dimo-python-sdk from 1.6.0 to 1.8.0 in the integration manifest and test requirements.
  • Add tests/test_sensor.py validating DimoSensorEntity / DimoVehicleSensorEntity native value and unit behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tests/test_sensor.py Adds coverage for sensor entity native_value / native_unit_of_measurement behavior.
requirements_test.txt Updates pinned SDK version used in the test environment.
custom_components/dimo/manifest.json Updates runtime dependency pin for the integration to SDK 1.8.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread custom_components/dimo/manifest.json
@ardevd ardevd merged commit 6c7efb7 into main Mar 15, 2026
4 of 5 checks passed
@ardevd ardevd deleted the dimo-sdk-1.8.0 branch March 15, 2026 20:34
@redbird-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants