Discharging to grid when set to Consumption Type Home Demand

There’s also some info here Battery Management with Octopus Smart Tariffs to Avoid 4 - 7 pm that is relevant.