Add a sensor for the new "Repairs" section

Hello,
I am managing all maintenance alerts in one dashboard.
I am able to get push notifications and display all the issues related to home assistant and dockers in this dashboard.
The only thing missing is the new “Repairs” messages.
Can you please add a sensor with a list of repairs so we can display and get notified when a repair is available?

A built-in sensor would be great. But your post inspired me to look for the repair event. If you like, play with this automation (or create a custom sensor):


- id: '202210081239'
  alias: System Repairs
  description: |-
    ——> /packages/automationen/system/system_benachrichtigungen.yaml

  trigger:
  - platform: event
    event_type: repairs_issue_registry_updated

  action:
  - service: logbook.log
    data:
      name: system_log
      message: |-
        Event: {{ trigger.event }}
        Data: {{ trigger.event.data }}
        Message: {{ trigger.event.data.message }}

  - service: notify.persistent_notification
    data:
      title: Repair!
      message: |-
        Event: {{ trigger.event }}
        Data: {{ trigger.event.data }}
        Message: {{ trigger.event.data.message }}

2 Likes

voted! i was confident this would exist but cannot find it anywhere

1 Like

I tried the suggested automation from @pedolsky.
Works nicely excepct that {{ trigger.event.data.message }} doesn’t render, and I’m not sure why. I can’t find the data model for a “repair” documented, so I don’t know if:

  • “message” isn’t a real property, or
  • “message” is not always populated
  • etc?

I have a current example where HA is publishing a Repair about the Overkiz integration, and in the HA UI there is an explanation saying that the latest version of Overkiz firmware breaks the integration. I can’t find that explanation in the trigger object (or in the system log, either). Any help?