Closed jivesinger closed 5 months ago
Thank you for the report. Broke this when cleaning up in https://github.com/evcc-io/evcc/pull/14452 in combination with https://github.com/evcc-io/evcc/pull/14245. vin
must not be part of the common properties include.
Describe the bug
Running HAOS addon 0.127.2 with no issues Upgrade to HAOS addon 0.127.3
Container fails to start with error:
FATAL 2024/06/25 15:52:23 cannot create vehicle 'ev3': cannot create vehicle type 'template': cannot create vehicle type 'custom': decoding failed due to the following error(s): '' has invalid keys: vin
From documentation at https://docs.evcc.io/en/docs/devices/vehicles#mg2mqtt
Key 'vin' looks to be optional as I don't own multiple vehicles of the same brand. Commenting out key 'vin' allows evcc to start, but after plugging in the vehicle evcc does not recoginize that the car is connected. Car status remains 'Disconnected'
Log evcc addon 0.127.3 after removing key 'vin'. Car was plugged in immeditatley after charge mode was changed to minpv
Interestingly, after rolling back to 0.127.2, if I comment out key 'vin', the car is again never recognised as connected, so this behaviour is not new and key 'vin' is NOT optional ?
Steps to reproduce
...
Configuration details
Log details
What type of operating system are you running?
HomeAssistant Add-on
Version
0.127.3