Helper, not very helpful

hi there
just trying to make a nice minigraph card from an entity wich shows my mower blades on time. This entitiy, provided by the integration, is called sensor.dolly_blades_current_on_time

the entity shows this history

as i want the mini graph to show per day working hours, I have created a helper

with this as start time

{{ as_timestamp(today_at("00:00:00")) }}

the point is that this entity is now showing no data, and a weird blank space

any suggestion, please?

You need to be a lot more specific than this.
EDit: are you looking for a history stats solution?

Well, i have posted the original sensor, sensor.dolly_blades_on_time history; and that i made a history statats helper based on that sensor just to have daily readings.

As you can see the helper does not output readings.

Don’t know, what other stuff ca I state, if so, please ask, no problem on tgis side, obviously, that’s why am asking here.

I can recreate here since the helper config can’t be seen, at least I dont know how.

Clicking on the helper only shows the last step I set up when creating it, and I can’t see a yaml or other kind of config file to post here.

What i want is, since sensor.dolly_blades_on_time outputs the total minutes they have been running, and my goal is to set up a mini graph with daily working time, I chose, after reading on the forum, to create a helper to output that data.

You mentioned ‘a helper’ hence my question, pictures donot show the type (unless I am blind).
If you use the GUI (which I honestly never did) then you have to specify a start, posisibly an end or a duration. Below docu provides some examples but you may have already read these?
You would have to select the proper template and type and the proper ‘state’
As mine are in yaml… an example for my well pump being active today (sounds similar)

sensor:
  - platform: history_stats
    name: Well Pump On Today
    entity_id: switch.well_plug
    state: "on"
    type: time
    start: "{{ now().replace(hour=0, minute=0, second=0) }}"
    end: "{{ now() }}"    

History Stats - Home Assistant (home-assistant.io)

Adding… if you are not sure, nothing prevents you to create a few and then delete those that are not helping :slight_smile:

Well after seing your yaml, i could state that mine would be as follows

sensor:
  - platform: history_stats
    name: Tiempo de trabajo de dolly
    entity_id: dont know that
    state: "on"
    type: time
    start: "{{ as_timestamp(today_at("00:00:00")) }}"
    end: 

I left end blank because i have read that leaving it that way the helper will work infinitely

And rhe start time, after reading too, is as is because I wanted it to start inmediatelly.

I have no clue how this sensor responds to that…the whole tmeplate thing is (sory to say) sometimes a bit fiddly… and I believe you need to add a END or a duration as well.

{{ today_at('00:00') }}

And how do I tell him to work forever?

Donot understand… you want the date to represent the ‘on’ for each day or not ? EDIt: because the total you already have

Sorry about my english, maybe I dont fully understand how the helper works.

I want the helper to output daily readings each day from now on.

If I setup an end, I am telling the helper to stop doing its job that ending time, isn’t it?

I can only state to use my example and that will work, it does for me in a multitude of sensors. this is for my son’s pc being ‘on’

So , adding

{{ today_at('00:00') }}

And the helper works everyday?

it should, I use something different… but didgeridew is also looking at this and he/she is more advanced then I am

That is not what a History Stats sensor/helper does.

You need a Utility Meter.

Well, just tried, an look what happened

? disagree…OP seems to want to count the minutes th thing i s ‘on’

try using my template entries?

start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"

OP already has minutes thing is running, he wants the change of that value per day.

Same result

Indeed…so from what I am using for many (5+ sensors) …history stats is providing that…this is not utility imo