I am simulating various data from solar reports and offsetting it against my house usage, what I would like to do next is simulate a 4.8kwh home storage battery connection, I would like it to charge when there is excess solar generation and have it discharge when there isn’t enough generation.
My first thought was to use utility_meter but I need to set limits of 4.8kwh for the max, and 0.48kwh for the low (battery deep discharge is limited to 10%)
How can I accomplish this in Home Assistant?