TeslaLogger icon indicating copy to clipboard operation
TeslaLogger copied to clipboard

MQTT HomeAssistant time_to_full_charge unit of measurement 'None'

Open radi334 opened this issue 2 months ago • 1 comments

** Append Logfile ** no required

Describe the bug HomeAssistant Integration via MQTT von Teslalogger. Fehler: Entity sensor.xxx_time_to_full_charge (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('duration') it is using; expected one of ['d', 's', 'min', 'ms', 'h', 'μs']; Please update your configuration if your entity is manually configured

To Reproduce MQTT value für time_to_full_charge hat keine Messeinheit definiert

Expected behavior Messeinheit ['d', 's', 'min', 'ms', 'h', 'μs']; sollte entsprechend definiert sein.

Screenshots If applicable, add screenshots to help explain your problem.

** Teslalogger Type ** Docker

** Do you use FleetAPI or old OwnersAPI ** FleetAPI

Additional context None

radi334 avatar Oct 21 '25 18:10 radi334

@Adminius

bassmaster187 avatar Oct 22 '25 06:10 bassmaster187

resolved by #1659

Adminius avatar Dec 15 '25 08:12 Adminius