New Integration: Home Maintenance – Track Recurring Tasks in Home Assistant

Yes that’s the intent behind specifying a tag for a task.
There is a listener for when a tag is scanned that if there is an associated task it will mark it as completed and reset the time.

Please feel free to submit a PR for the Dutch translations and I will happily merge it!

Thanks for the plugin! Just was I was looking for.

I want to display a list of tasks in my dashboard in each room, would it be possible to add Area to the tasks? I use below code to display each task with a label so I can differentiate room cleaning and appliance maintenance, but as I mentioned I would like to have this in each room so I can see what needs to be done in specific rooms. If we can’t add Area then I would at least like to show tasks with multiple labels as I would add label for example “Home Cleaning” and “Hallway”.

type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - label: Appliance Maintenance
      options:
        type: custom:mushroom-template-card
        entity: this.entity_id
        fill_container: false
        primary: "{{ state_attr(config.entity, 'friendly_name') }}"
        secondary: >
          {% set next_due =
          as_datetime(state_attr(config.entity,'next_due')).date() %} {% set
          today = now().date() %} {% set days = (next_due - today).days %} {% if
          days < 0 %}
            {{ -days }} days ago
          {% else %}
            {{ days if days>0 else 1 }} days left
          {% endif %}
        icon: "{{ state_attr(config.entity, 'icon') }}"
        icon_color: >
          {% set last =
          as_datetime(state_attr(config.entity,'last_performed')).date() %} {%
          set next_due =
          as_datetime(state_attr(config.entity,'next_due')).date() %} {% set
          today = now().date() %} {% if last == today %}
            green
          {% else %}
            {% set days = (next_due - today).days %}
            {% if days < 0 %}
              red
            {% elif days == 0 %}
              red
            {% elif days == 1 %}
              yellow
            {% elif days <= 3 %}
              yellow
            {% else %}
              green
            {% endif %}
          {% endif %}
        show_state: true
        tap_action: none
        hold_action: none
  exclude:
    - state: unavailable
    - domain: automation
sort:
  method: name

I worked out the code with help from ChatGPT however it’s not possible to mark the items done here, how can I do that? I was able to create a button for a task and mark it done only when I created a single button but it’s too tedious to create a button for each task.

Thanks!

Hi @TJPoorman there are a number of open issues on the integration on GitHub for a while now. Have you had a chance to review them yet?

My main “issue” with the integration now is that the UI is acting weird when editing items. This has been confirmed by multiple other users as well.
Could you look into that?

Add this to your card template in auto-entities. Pressing it will reset it that way.

tap_action:
          action: perform-action
          perform_action: home_maintenance.reset_last_performed
          data:
            entity_id: this.entity_id

If you assign your entities to an Area, than you can also use the filters of auto-entities to only show for a certain area.

I also have an exclude in there to only show items for the next week:

exclude:
    - options: {}
      attributes:
        next_due: < -7d ago
1 Like

That is super. Thanks a lot for your contribution.
By the way, I can see a device_id in all this code 2aa7d42bd6e08ff7467eca649523d63d…To find this id is super tricky, you have to look in the search bar of the browser when you open the device. Have not found anywhere else.

Thanks a lot for your help :slight_smile:

1 Like

Nice integration, just what I was looking for for some time already :slight_smile:

I’m just struggeling a bit, to get the due activites for today to use in y daily briefing per TTS - could someone give me a pointer here? :slight_smile:

Love this idea and Integration! Is there a way to edit previous tasks, of do i just need to create a new task? I need to change the NFC tag.

this is what I was looking for for a long time!\anybody has a clue why my UI looks different than the one presented on GitHub ?

1 Like

I am having the same issue - I have added the tags but they do not complete and reset the task. Am I missing a step?

1 Like

Me too. I like the way the integration is so easy to implement, but I am having trouble with the NFC tags as well. The NFC tags show as updated in the “Tags” section, but the don’t reset the task

1 Like

I added an automation that when ‘tag’ is scanned → ‘reset_last_performed’

YAML:
alias: Tag Reset cat pheromone ‘AirWick’ is scanned
description: “”
triggers:

  • trigger: tag
    tag_id: 9904cb4d-b425-40b3-b408-3665410b3269
    conditions:
    actions:
  • action: home_maintenance.reset_last_performed
    metadata: {}
    data:
    entity_id: binary_sensor.cat_pheromone_airwick
    mode: single
1 Like

Thanks Nick, will give that a go.

Still curious though (if anyone knows) - is there some other purpose to adding the tags to each task? Or not functioning as expected?

The edit dots are acting a bit flaky for me. Appear inconsistently (but more often not) on my web browser. Assume this is same issue. Seems to work better from the Companion app.

This is great, needs a little work but will be great in getting me to move over from MActrack that I currently use on my phone.
I noticed the Add Task button is small and kinda hidden/small.
Can we add a note field where notes can be left for each maintenance?