Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
143 stars 30 forks source link

Battery_State -> unknown? #88

Closed jvanderweken closed 1 year ago

jvanderweken commented 1 year ago

Hi

volvo2mqtt works fine. But in the last UPDATE 1.8.3 --> Battery State is added.

The sensor battery State in my HA say unknown, and there is a difference to the other sensors, because all the other sensors are under the the code volvovin**** . But now for the Battery State the sensor is named under volvo_battery_state. Is it normal? Or is there something missed? or is there a Bug,

Just for info I have a BEV XC40 2023

Dielee commented 1 year ago

I can't reproduce the behavior you described. Would you please send me some screenshots from this sensor and provide some debug logs?

AlexZuiderwijk commented 1 year ago

Isn't this the Android Auto device battery state, similar to an Android phone battery (I observed the same before)?

/Alex

Op vr 18 aug. 2023 18:14 schreef jvanderweken @.***>:

Hi

volvo2mqtt works fine. But in the last UPDATE 1.8.3 --> Battery State is added.

The sensor battery State in my HA say unknown, and there is a difference to the other sensors, because all the other sensors are under the the code volvovin**** . But now for the Battery State the sensor is named under volvo_battery_state. Is it normal? Or is there something missed? or is there a Bug,

Just for info I have a BEV XC40 2023

— Reply to this email directly, view it on GitHub https://github.com/Dielee/volvo2mqtt/issues/88, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5ASZANB2T7QYPICUMVBLJ3XV6IFDANCNFSM6AAAAAA3VXONOE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jvanderweken commented 1 year ago

Sorry, I have mixed two things, it was the Battery state if you have installed HA in the vehicle...

but otherside, I can't find a battery_state from the MQTT is this normal or what i have to do?

jvanderweken commented 1 year ago

ok ok sorry, i didn't read very well the change is "device_class" it's ok