You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct window cover position mapping for windowStatusOverall
The summary "windows" cover reported the inverted state: closed windows
showed as 100% open and vice versa (#426).
windowStatusOverall uses the WindowStatusOverall enum (0 OPEN, 1 CLOSED,
2 COMPLETELY_OPEN, 3 AIRING), which is numbered differently from the
Windowstatus enum of the individual windows (0 INTERMEDIATE,
1 COMPLETELY_OPENED, 2 COMPLETELY_CLOSED, 3 AIRING_POSITION). The old
mapping treated any overall value > 0 as open, so CLOSED (1) became 100%
and OPEN (0) became closed.
Replace the status sets with two explicit enum based position maps and
ignore attributes whose retrieval status shows that the car did not
report a usable value.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments