Paste this into an AI coding agent (Claude Code, Cursor, Codex, etc.) that has access to your Home Assistant config. It describes the system from Who gets the sunshine — a Home Assistant "referee" that decides, every minute, whether the sun should go to the car, the house battery or nobody, and that only buys grid power on purpose.
Everything in [brackets] is something the agent must ask you for or discover. Numbers in italics are the values that worked for one house in Central Victoria on a free‑11am–2pm solar‑soak tariff; keep them as defaults but expose every one as an input_number so they can be tuned without editing YAML.