Repository navigation
v0.6.0
Added: sensor.virtual_solar_grid_export (W, device_class: power).
Reports the solar surplus that couldn't go into the battery this tick, either because the battery is at capacity or because solar - house exceeded the configured max charge rate. In a real setup, that energy would flow back to the grid (with an export-enabled inverter) or be wasted (with an export-prevention inverter). Tracking it lets you tell whether more panels would actually generate more usable energy or just produce more overflow.
Returns 0 when the battery can absorb all the net solar. Returns None when lux / house / battery capacity are unavailable.
The auto-generated dashboard now shows the new sensor in the "Current Status" card; re-run Developer Tools → Actions → Virtual Solar: Get dashboard YAML to get the updated YAML.
Closes #2.