Reset a counter Monthly

I have created chores for the kids to have everything is up and running and for the chores to reset on the days needed they earn points for chores but I want the points to reset once a month at the start of each month any ideas on how to have a counter reset at the start of each month with automation? if not I can do it myself without anything.

1 Like

Assuming your counter is an input_number:

alias: Reset counter every month
mode: single
trigger:
  - platform: time
    at: '00:00:00'
condition:
  - condition: template
    value_template: "{{ now().day == 1 }}"
action:
  - service: input_number.set_value
    data:
      value: 0
    target:
      entity_id: input_number.chores_score
3 Likes

I was running it on a Script as a counter: reset but thank you, this seems to work once I changed some things around!! still a bit newbie but getting better! thank you again!!!

1 Like