Skip to content

feat: added oil temperature signal definition#268

Merged
ardevd merged 1 commit into
mainfrom
oil-temp-sensor-definition
Mar 15, 2026
Merged

feat: added oil temperature signal definition#268
ardevd merged 1 commit into
mainfrom
oil-temp-sensor-definition

Conversation

@ardevd

@ardevd ardevd commented Mar 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

@ardevd ardevd self-assigned this Mar 15, 2026
Copilot AI review requested due to automatic review settings March 15, 2026 20:37
@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

Adds support for an OBD oil temperature signal in the DIMO Home Assistant integration so the sensor is properly defined (device class/unit/state class) and receives an appropriate default icon.

Changes:

  • Define the new obdOilTemperature signal as a temperature sensor (°C, measurement).
  • Add an icon mapping for the oil temperature sensor translation key.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
custom_components/dimo/icons.json Adds default icon mapping for obdoiltemperature.
custom_components/dimo/const.py Adds obdOilTemperature to SIGNALS with temperature metadata; reformats homeassistant.const import.

💡 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.

@redbird-sonarqube

Copy link
Copy Markdown

@ardevd ardevd merged commit d8838f8 into main Mar 15, 2026
10 checks passed
@ardevd ardevd deleted the oil-temp-sensor-definition branch March 15, 2026 20:40
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