See #30 (comment)
Please see branch cal-ble-mac https://github.com/raphmur/tesla-local-control-addon/tree/cal-ble-mac
Not committed to main yet pending more testing.
@baylanger?
The new code adds steps: 1/ at container init, 2/ every 3 min (in main loop)
What it does: 1/ calculates LNAME from VIN, 2/ Try and find MAC as per tesla-local-control/tesla_ble_mqtt_docker#10 (comment) , 3/ If found, export the variable to be accessible in main loop for the listen_to_ble function
/!\ it is not stored in HA config due to 1/ I don't know if this makes sense, 2/ I don't know how to do it.