I needed a super simple Tesla charging automation for Home Assistant to use energy from the Solar panels when producing.
When Solar power is above 1 kW for more than 10 seconds, and the charger is plugged in, then start charging If Solar power drops below 1 kW, stop charging
Its that simple.
- Home Assistant
- Tesla
- Tesla Wall Connector
- Discover and install Tesla Wall Connector
- Install Tesla Custom integration
- Go to Settings -> Automations & Scenes -> Create Automation
- Add the below scripts & adjust to your tesla and solar sensors for Home Assistant.