Skip to content

Add internalTemperature to KamereonVehicleHvacStatusData#2031

Merged
epenet merged 2 commits intohacf-fr:mainfrom
StefCoene:feat/hvac-internal-temperature
Mar 30, 2026
Merged

Add internalTemperature to KamereonVehicleHvacStatusData#2031
epenet merged 2 commits intohacf-fr:mainfrom
StefCoene:feat/hvac-internal-temperature

Conversation

@StefCoene
Copy link
Copy Markdown
Contributor

@StefCoene StefCoene commented Mar 30, 2026

Summary

  • Add internalTemperature: float | None field to KamereonVehicleHvacStatusData dataclass
  • Display it in the CLI status output alongside externalTemperature

The hvac-status endpoint returns internalTemperature for at least the Scenic E-Tech (confirmed with real vehicle data). The field is optional (None) so it is silently skipped for vehicles that do not return it, consistent with how externalTemperature is handled.

Test plan

  • Run renault-api --log status on a vehicle that returns internalTemperature and verify it shows up
  • Verify that vehicles without internalTemperature still show status without errors

🤖 Generated with Claude Code

Expose the internalTemperature field from the hvac-status endpoint,
which is returned by vehicles such as the Scenic E-Tech. Also display
it in the CLI status output alongside externalTemperature.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.03%. Comparing base (1498c3a) to head (fa64d34).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2031   +/-   ##
=======================================
  Coverage   87.03%   87.03%           
=======================================
  Files          34       34           
  Lines        2159     2159           
  Branches      248      248           
=======================================
  Hits         1879     1879           
  Misses        198      198           
  Partials       82       82           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@epenet epenet added the enhancement New feature or request label Mar 30, 2026
@epenet epenet merged commit ddadc4a into hacf-fr:main Mar 30, 2026
20 checks passed
@epenet
Copy link
Copy Markdown
Collaborator

epenet commented Mar 30, 2026

Thanks @StefCoene

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