Releases: G-Two/homeassistant-subaru
Releases · G-Two/homeassistant-subaru
v0.7.6
v0.7.5
v0.7.4
v0.7.3
v0.7.2
New Features
- Adds support for newer "g3" vehicles (not sure if this is 2022+ or 2023+)
- Adds fuel remaining sensor for vehicles that report this data (most likely "g3" only)
- Adds vehicle trouble binary sensor for MILs (MIL type and timestamp shown as extra attribute)
- Adds recommended tire pressure as extra attribute to tire pressure sensors
Miscellaneous
- Uses more reliable method to determine if a vehicle supports reporting window/sunroof status
Bug Fixes
v0.7.1
v0.7.0
This update resolves the HTTP 404 error that users experienced beginning Dec 2 2022. Subaru discontinued the use of their "g2v21" API which broke all HA Subaru integration versions prior to 0.7.0, as well as the HA Core integration. This update uses the "g2v24" API which is the version used by the official MySubaru mobile app.
Breaking Changes
- Two sensors are no longer supported by the Subaru API and have been removed from the integration
- External Temp
- 12V Battery Temp
- "Locate" Button has been renamed to "Poll Vehicle"
- Clarifies actual functionality provided - vehicle is polled and all information is updated (including location)
- Deprecated Subaru specific services have been removed
- Horn/Lights, Remote Start/Stop, Poll/Refresh (use HA native buttons/service instead)
New Features
- Device diagnostics now includes a dump of the raw JSON response from the Subaru API to aid in troubleshooting as well as the discovery of new sensor data that might be available but is not yet used by the integration. Sensitive/identifying fields will be redacted, but be sure to verify before publicly pasting any information.
"vehicleStatus": {
"success": true,
"errorCode": null,
"dataName": null,
"data": {
"vhsId": "**REDACTED**",
"odometerValue": "**REDACTED**",
"odometerValueKilometers": "**REDACTED**",
"eventDate": 1657835975000,
"eventDateStr": "2022-07-14T09:59+0000",
"latitude": "**REDACTED**",
"longitude": "**REDACTED**",
"positionHeadingDegree": "170",
"tirePressureFrontLeft": "2600",
"tirePressureFrontRight": "2700",
"tirePressureRearLeft": "2650",
"tirePressureRearRight": "2650",
"tirePressureFrontLeftPsi": "37.71",
"tirePressureFrontRightPsi": "39.16",
"tirePressureRearLeftPsi": "38.44",
"tirePressureRearRightPsi": "38.44",
"distanceToEmptyFuelMiles": 529.41,
"distanceToEmptyFuelKilometers": 852,
"avgFuelConsumptionMpg": 52.3,
"avgFuelConsumptionLitersPer100Kilometers": 4.5,
"evStateOfChargePercent": 14,
"evDistanceToEmptyMiles": 529.41,
"evDistanceToEmptyKilometers": 852,
"evDistanceToEmptyByStateMiles": null,
"evDistanceToEmptyByStateKilometers": null,
"vehicleStateType": "IGNITION_OFF",
"windowFrontLeftStatus": "VENTED",
"windowFrontRightStatus": "VENTED",
"windowRearLeftStatus": "UNKNOWN",
"windowRearRightStatus": "UNKNOWN",
"windowSunroofStatus": "UNKNOWN",
"tyreStatusFrontLeft": "UNKNOWN",
"tyreStatusFrontRight": "UNKNOWN",
"tyreStatusRearLeft": "UNKNOWN",
"tyreStatusRearRight": "UNKNOWN",
"remainingFuelPercent": null,
"distanceToEmptyFuelMiles10s": 530,
"distanceToEmptyFuelKilometers10s": 850
}
},
Users that find that their vehicle provides additional information (such as remainingFuelPercent
) that isn't being used by this integration can submit an issue with the valid ranges/states of the value. 2023 models seem like they have more advanced telematics features, so owners of those vehicles may find more data is available. This new detailed diagnostics output should help with their discovery.
Miscellaneous
- Uses Subaru (undocumented) API g2v24 (aligns with latest mobile app 2.7.30, released on Nov 5 2022)
Bug Fixes
v0.6.5
New Features
- Add support for diagnostics
- Add position timestamp extra attribute to device tracker
Changes
- Incorporate PR code review quality changes from HA Core
- Migrate unique_ids to
<VIN>_<API_CALL_OR_JSON_KEY>
- Refactor code and add type hints to prep for future HA Core PRs
Bug Fixes
- Remove deprecated unit conversions - Fixes #56
v0.6.4
Changes
- Bump to subarulink 0.6.1
- No new features
Bug Fixes
- Fixes unhandled exception that occurred when vehicleStatus.json fields contained
None
v0.6.3
Breaking Changes
- Default persistent notification option is now set to Disable. Previous default option was Failure. Users may need to update the integration configuration to set the desired option.