Open magnushacker opened 22 hours ago
Do you have access to each others cars?
Yes, we both have both cars in the app.
I think I had to add the second car using the other polestar ID when I set up the integration. Should this work now automatically using just one polestar ID?
Should work before on old version: https://github.com/pypolestar/polestar_api/issues/150
I deleted both integration entries and re-added one of them. Only one of the cars show up and when I try to add the second entry using the other polestar ID, it fails and cannot generate devices and sensors. Doesn't matter which one I start with.
I then downgraded to 1.7.2 and experience the same thing.
If I downgrade to 1.6.15, I do get both cars displayed as two devices under the same integration entry.
EDIT: Spoke too soon - sensors on the second car all show as unavailable. If I remove and re-add the entry, I am back to only seeing one car again.
The challenge is most likely that both devices see both cars and there's nothing telling any of them which one to ignore?
I have two cars and two separate polestar IDs. Until 1.7.2 this worked fine but in 1.7.3 the second car is no longer available.
I can see that the integration can successfully authenticate with the first entry (tried to anonymize the logs a bit):
but then it seems to reuse the same authentication for the second car and of course gets the same API response back: