DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
148 stars 31 forks source link

Wrong hood, trunk and trunk lock status #244

Open desosav opened 8 months ago

desosav commented 8 months ago

Hello, hood, trunk and trunk lock status is wrong in HA. Hood and trunk sensor always appear to be open, while the trunk lock status is always unlocked. Please let me know if you need more info/logs regarding this issue.

heinoldenhuis commented 8 months ago

Hi, I have the same issue currently. Also I noticed that the trunk and truck lock status are both missing in the myToyota app. So maybe it is an issue with myToyota app/api itself.

kamilszewczyk commented 8 months ago

Almost exactly same problem here. Looks like if the toyota api is not returning a valid response then the entity in home assistant is showing open/unlocked. My RAV4 shows bonnet/hood state in myToyota app and it's correctly reflected in HA, but is not showing the trunk state in the app and Ha is showing Open and unlocked. Would be good to have a undefined status returned in HA then so we know that it's not a car problem but a api one so we could remove and ignore it in our integrations

CM000n commented 8 months ago

Presumably there was another changeover here. Toyota has often tinkered with the end point for the lock status in the past. 😞 I'll have a look at this soon, but unfortunately I'm still quite busy at the moment and haven't found the time yet.

So if anyone has the time and inclination, feel free to post a PR with a possible fix in the mytoyota repo 😉

pauldcomanici commented 4 months ago

I have the same issue with the trunk (open status & lock status). It reports open & unlocked, whereas in reality is closed & clocked.

MoiEsFe commented 2 months ago

It seems that the "Trunk" value has been corrected with version 2.0.4, but the "Hood" still shows an incorrect status.

kamilszewczyk commented 1 month ago

Looks like both Trunk and Hood states now return correct status in my case