tesla
tesla copied to clipboard
charger_phases incorrectly showing 2 phases on 3-phase charger

Running v3.9.1
Not sure what other info to attach.
We're reporting what Tesla is reporting. You can try looking at teslajsonpy logs to see what data is there. If it's wrong, you need to talk to Tesla.
Ok, thanks. I turned on debug logging in HA but it doesn't print enough info to show what's going on.
Teslamate is showing the correct number of phases:
This is what Tesla are reporting from upstream.
Here is my work around.
ev_phases:
friendly_name: "EV Charger Phases (adjusted)"
value_template: "{{ max(1,(state_attr('sensor.duka_charger_power','charger_phases')|int(0)*3/2)|int(0))}}"
FWIW: metering consumption in IT net - barely used in Europe but quite common in Norway - is done by the Aron-circuit and this measures only 2 phases which is sufficient for a precise consumption metering. If you live in Norway this might be the reason but I do not know why Teslamate shows something else.
I live in Norway and have the IT system and for me, the values are reported correctly as 3 phase in home assistant.
However, in order to refresh the charging info, I had to press "Force data update".