Oil use tracking

Been enjoying HA for a few months. Usual lights, alarm, heating, and app integrations … i’m not the biggest YAML coder and have ran up against my inability.

In short, i want to measure cummulative time the boiler is ‘on’ to help estimate oil usage. The tado entities are:

  • Hot Water_Tado power
  • Heating_Tado power

I can create (with helper) an input date field but would really appreciate some help with the YAML to measure time ‘on’ between the set date and now. In the end, I want to create a countdown to recommend “check the tank” function.

Any pointers (the more detailed the better) very gratefully received.

Roger

I started a thread on this a while ago:

Excellent. That worked perfectly. (slight mod to convert to litres).
Much appreciated.