G-Two
G-Two
There should be a try/except block now using the two known formats returned by the subaru API: ```python try: keep_data[sc.TIMESTAMP] = datetime.strptime(data[api.API_LAST_UPDATED_DATE], api.API_TIMESTAMP_FMT) except ValueError: keep_data[sc.TIMESTAMP] = datetime.strptime(data[api.API_LAST_UPDATED_DATE], api.API_TIMESTAMP_FMT_OLD) ```
Related https://github.com/G-Two/homeassistant-subaru/issues/101
@lheures I started a new [branch](https://github.com/G-Two/subarulink/tree/support_ca) to try to support Subaru Canada without imposing a subarulink API change. If it is just a url change then this should work. The...
@lheures yes, it also looks like `_validate_remote_start_params()` has some issues since it appears that some fields are optional (such as `heatedRearWindowActive`). The check appears to have failed when fetching and...
@lheures I've published a [pre-release](https://github.com/G-Two/homeassistant-subaru/tree/v0.3.0) for the Home Assistant integration with Canada support. Please give it a try and let me know how it goes.
@lheures you might need to refresh your browser or clear the cache to see the Subaru option.
@mk3l try using the latest dev branch. Clone this repo and checkout the dev branch. If you don't want to use git, then just download and unzip the contents of...
@mk3l this integration should be stable. There might be a bug that is specific to your model. Can you provide logs with `config/configuration.yaml` set to debug on the integration? ```yaml...
@onlize the PR has been merged, please send new device diagnostics dump, and I can look into it with more detail now.
Can you paste in the part of the debug logs that shows vehicle features? It should be contained in the response to `GET: https://mobileapi.prod.subarucs.com/g2v28/selectVehicle.json` Example: ``` 'features': ['ABS_MIL', 'AHBL_MIL', 'ATF_MIL',...