fordpass-ha
fordpass-ha copied to clipboard
Issue with the attributes in the windowposition
I am seeing some non-window data in the attributes for windowposition:
DRIVER:
updateTime: '2023-10-23T06:59:19Z'
oemCorrelationId: '74972'
value:
doubleRange:
lowerBound: 0
upperBound: 0
vehicleWindow: UNSPECIFIED_FRONT
vehicleOccupantRole: DRIVER
vehicleSide: DRIVER
icon: mdi:car-door
friendly_name: FocusST Window Status
Looks like window data to me. lowerBound/upperBound I think are for determining how far the window is open. The rest should be obvious (except for the "UNSPECIFIED_FRONT").
That data is pulled straight from the "windowPosition" dictionary, no data is modified. So "oemCorrelationId" is obviously what they use to match the window to car maybe.
@max-github-mjhodgson-com windowStatus for me used to report each individual window states with open / partial-open / closed. Ford recently overhauled their API completely to a new site and shutoff the old one. While they added a lot of cool new data, they also screwed up a few things. This being one of them. Since this is all the data being supplied via the API there's really nothing to be done for now on the window status reporting. I would imagine they will fix it at some point as we know for certain the car is capable of reporting that data.
#349