G-Two / subarulink

A python package for interacting with Subaru STARLINK remote vehicle services.
Apache License 2.0
84 stars 14 forks source link

v0.4.0 #47

Closed G-Two closed 2 years ago

G-Two commented 2 years ago

Breaking Changes

New Features

Miscellaneous

Related Issues

stboch commented 2 years ago

Looks like fetch_climate_presets needs to be able to handle a no presets returned. It seems possible at least one of my cars to have no custom presets configured and return None and success=True

2021-12-29 01:25:11 DEBUG (MainThread) [subarulink.connection] GET: https://mobileapi.prod.subarucs.com/g2v21/service/g2/remoteEngineStartSettings/fetch.json, params=None, json_data=None
2021-12-29 01:25:11 DEBUG (MainThread) [subarulink.controller] {'data': None, 'dataName': None, 'errorCode': None, 'success': True}
2021-12-29 01:25:11 ERROR (MainThread) [custom_components.subaru] Unexpected error fetching subaru_data data: the JSON object must be str, bytes or bytearray, not NoneType