Skip to content

Read climatisation from HVAC_SUMMARY; quieter retries (0.5.1) - #8

Merged
bartolije merged 1 commit into
mainfrom
fix/hvac-summary
Nov 6, 2026
Merged

bartolije merged 1 commit into
mainfrom
fix/hvac-summary

Conversation

@bartolije

Copy link
Copy Markdown
Owner

Porsche no longer reports remote climatisation through CLIMATIZER_STATE (the measurement comes back empty), so has_remote_climatisation was False on every car. Same change as CJNE#98:

  • request HVAC_SUMMARY instead of CLIMATIZER_STATE; has_remote_climatisation / remote_climatise_on read it (on = status other than OFF); new seat_heating property with the climate zones the car reports;
  • REMOTE_CLIMATIZER_START payload carries "spin": null;
  • user agent of the Porsche app, which the API needs to wake the car up on currentoverview.

Retries of transient errors are logged at debug level: the caller already reports the final failure, and a warning per attempt flooded the Home Assistant log.

Tests: 104 pass on Python 3.12 and 3.14 (CI matrix now includes 3.14), coverage 81.9 %. Not tested on a car with remote climatisation (the test car has none).

🤖 Generated with Claude Code

Porsche no longer reports remote climatisation through CLIMATIZER_STATE
(the measurement comes back empty), so has_remote_climatisation was False
on every car and climatisation could not be used. Same change as
CJNE#98:

- request HVAC_SUMMARY instead of CLIMATIZER_STATE;
- has_remote_climatisation / remote_climatise_on read HVAC_SUMMARY
  (on = status other than OFF), new seat_heating property with the
  climate zones the car reports;
- REMOTE_CLIMATIZER_START payload carries "spin": null;
- user agent of the Porsche app, which the API needs to wake the car up
  on currentoverview.

Retries of transient errors (429/5xx, transport) are logged at debug
level: the caller already reports the final failure, and a warning per
attempt flooded the Home Assistant log.

Tests also run on Python 3.14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bartolije
bartolije merged commit 74537aa into main Nov 6, 2026
8 checks passed
@bartolije
bartolije deleted the fix/hvac-summary branch November 12, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant