leeyuentuen / polestar_api

Polestar Api - Home Assistant Component
MIT License
112 stars 18 forks source link

Unable to use some sensor values in automations #89

Closed RobDemandt closed 5 months ago

RobDemandt commented 5 months ago

It appears only the sensor values that are numerical can be used in automations. The possible states of other sensor values cannot be selected (example: connection status = connected or not connected)

leeyuentuen commented 5 months ago

i'll take a look on it

VdR1960 commented 5 months ago

Automations based on the 'connection status' and also the 'charging status' has always worked for me. A recent update caused all entity IDs to be changed ( '_2' was appended to the entity IDs). This caused the automations to break. Updating the entity names in the automations has fixed the issue.

Maybe this observation helps.

leeyuentuen commented 5 months ago

@RobDemandt is the answer above fix your issue? or should this be investigated?