Add support for Tesla Powerwall

Does this exists as code checked in somewhere?
I think @fnord123 's code from Sept 27 is what I want, but I’m not sure what other files you’re talking about.
I’m trying to setup automation to maximize PW usage using Solcast forecast data.