Helper, not very helpful

what do you mean with same result?

I just entered this for one of the 5 I am using

That it shows same error

@Didgeridrew I think I know what you mean…indeed. The base sensor is not the correct on…it is only showing minutes, not ‘state’ …sorry :slight_smile:

1 Like

@Didgeridrew was right…( I already mentioned he is more adavanced)
My sensors report on or off and I am counting their time
Your sensor is a running total…so indeed try utility meter on a daily setting

Here I come


maybe it needs some time to generate data…

few minutes usually
EDIT: HA has many sensors with many units-of-measurements and managing them ‘alternatively’ is not always straight forward. I should have seen @Didgeridrew view earlier but did not :slight_smile:

Well, seems to be working, though dolly has not worked yet so, I have to wait for her to do its job.

I’ll come back to tell you.

Thanks so much

Hi there, as promised, here I am.

the utility meter works as expected. thank you. I am going to create a new thread cause I want to make the result even better, but that`s another topic.

thank you

well I am back, after putting it all together, I came to

alias: Notificación de uso de cuchillas
description: ""
triggers:
  - value_template: >
      {% set COT = states('sensor.dolly_blades_total_on_time') | float %} {% set
      COT2 = states('input_number.cot2') | float %} {% set result = COT - COT2
      %} {{ result >= 1440 and result < 1441 }}
    trigger: template
conditions: []
actions:
  - data:
      message: Han pasado 24 horas de uso de las cuchillas. Necesitan limpieza
      title: ATENCIÓN!!
    action: notify.mobile_app_mi14
  - data:
      entity_id: input_number.cot2
      value: "{{ states('sensor.dolly_blades_total_on_time') | float }}"
    action: input_number.set_value
  - data:
      title: "Tarea: Limpieza de cuchillas"
      message: Se han registrado 24 horas de uso de las cuchillas. Recuerda limpiarlas.
    action: persistent_notification.create
  - action: notify.mobile_app_iphone_de_pilar
    data:
      message: Han pasado 24 horas de uso de las cuchillas. Necesitan limpieza
      title: ATENCIÓN!!
  - action: notify.mobile_app_iphone_de_marcos
    data:
      title: ATENCIÓN!!
      message: Han pasado 24 horas de uso de las cuchillas. Necesitan limpieza
mode: single

I expected COT2 to be updated and make it equal to COT bu that never happened, I will attach image, forget about november 13 and 14 because it was updated by hand