This guide provides the complete YAML code and setup instructions for a robust system to manage your Tesla Powerwall charging with an Intelligent Octopus Go tariff in Home Assistant.
The goal is to charge the Powerwall from the grid during bonus cheap rates, while intelligently handling transition periods and preventing API spam from rapid sensor state changes.
Before you begin, ensure you have the following set up in Home Assistant: