itchannel / fordpass-ha

Fordpass integration for Home Assistant
303 stars 55 forks source link

Window position om MME #406

Closed LTKingChaos closed 4 months ago

LTKingChaos commented 10 months ago

Windows position om MME is only showing drivers window

Attributes in sensor.fordpass_windowposition

DRIVER: updateTime: '2023-10-23T14:42:22Z' oemCorrelationId: '17925' value: doubleRange: lowerBound: 0 upperBound: 0 vehicleWindow: UNSPECIFIED_FRONT vehicleOccupantRole: DRIVER vehicleSide: DRIVER

icon: mdi:car-door friendly_name: fordpass_windowPosition

gniknalu commented 10 months ago

Maybe it's the way it parsed the data. This is what I see, when I'm in debug mode:

'windowStatus': [{
                            'updateTime': '2023-10-23T21:12:39Z',
                            'oemCorrelationId': '80208',
                            'value': {
                                'doubleRange': {
                                    'lowerBound': 0.0,
                                    'upperBound': 0.0
                                }
                            },
                            'vehicleWindow': 'UNSPECIFIED_FRONT',
                            'vehicleOccupantRole': 'DRIVER',
                            'vehicleSide': 'DRIVER'
                        }, {
                            'updateTime': '2023-10-23T21:12:39Z',
                            'oemCorrelationId': '80208',
                            'value': {
                                'doubleRange': {
                                    'lowerBound': 0.0,
                                    'upperBound': 0.0
                                }
                            },
                            'vehicleWindow': 'UNSPECIFIED_FRONT',
                            'vehicleOccupantRole': 'PASSENGER',
                            'vehicleSide': 'PASSENGER'
                        }
                    ]
SquidBytes commented 10 months ago

This is on the list of things to-do: #349

Also in #405