TWCManager
TWCManager copied to clipboard
VIN check
Ported an implementation of the VIN check from https://web.archive.org/web/20211025081149/http://www.shapemetrics.com/blog/vin-validation-part-i/ into Python; fairly straightforward. Fixes #485.
BTW, @ngardiner, I kept the current behavior of considering an empty string to be valid, but I'm not totally sure what that's for. I see a few empty-string charging sessions, though I'm fairly sure no car but mine has ever charged on my TWC.