Skip to content

v0.8.0

Choose a tag to compare

@virtuallytd virtuallytd released this 08 Jul 10:05
· 8 commits to main since this release
a6ea974

Added: switch.virtual_solar_discharge_enabled (default on).

Controls whether the virtual battery discharges when the house draws more than solar. Off holds the charge and lets the grid cover the shortfall, useful for time-of-use tariff simulations (turn discharge off during cheap overnight hours to preserve battery for the expensive daytime).

Charging (solar surplus filling the battery) is unaffected by the switch.

A new Holding value is added to sensor.virtual_solar_battery_status for the case where discharge is disabled and the house draws more than solar. sensor.virtual_solar_battery_charge_rate reads 0 in that state to reflect the actual (rather than desired) battery flow.

The auto-generated dashboard's Battery card now includes the switch. Re-run Developer Tools → Actions → Virtual Solar: Get dashboard YAML to regenerate.

Closes #4.