How to monitor Addon

I use Samba Backup addon for HA backup. I would like to display the info on UI such as(if all of them are possible somehow):-
Backup Status: Running or Not Running Note:- I am not looking for Addon Status
Speed:
Location:
Last Finished:
Backups local: # of backups
Backups remote: # of backups
Warning: display a list of warnings

Any help is appreciated and thank you.
-Shan

Pretty sure these are the only sensors available:

type: entities
title: Samba Backup
entities:
  - entity: sensor.samba_backup
    icon: mdi:file-replace-outline
    name: Backup Status
  - attribute: backups_local
    entity: sensor.samba_backup
    icon: mdi:file-outline
    name: Local Backups
    type: attribute
  - attribute: backups_remote
    entity: sensor.samba_backup
    icon: mdi:file-move-outline
    name: Remote Backups
    type: attribute
  - attribute: total_backups_succeeded
    entity: sensor.samba_backup
    icon: mdi:file-check-outline
    name: Succeded Backups
    type: attribute
  - attribute: total_backups_failed
    entity: sensor.samba_backup
    icon: mdi:file-cancel-outline
    name: Failed Backups
    type: attribute
  - attribute: last_backup
    entity: sensor.samba_backup
    icon: mdi:file-clock-outline
    name: Last Backup
    type: attribute
show_header_toggle: false

Though I have not checked for quite a while.

EDIT: seems to be up to date: https://github.com/thomasmauerer/hassio-addons/blob/1ffffaaa1df3a954e04cc13cf06329203ede4b2d/samba-backup/DOCS.md#home-assistant-sensor

Isn’t that all in the addon ui?

What do you mean?

There is no UI for Samba Backup.

Sorry I was thinking of the google drive addon.

1 Like

Having an issue when Addon is not running it does not show anything and bunch of lines with Entity not available.
How do you show in this case ?

I don’t turn the addon off.

For me Addon is not off either. What I meant was it will only show entities info when it is actually doing the backup- if that makes sense. When backlup is finished entities show error as Entity not available.

Ah. I remember that issue now. You need to add this startup automation:

- id: 46ba1b3e-14bc-4237-abb6-e9146eacc575
  alias: 'Startup'
  trigger:
    platform: homeassistant
    event: start
  action:
  - service: hassio.addon_stdin
    data:
      addon: 15d21743_samba_backup
      input: restore-sensor

Wow, that worked like a charm. I wonder how many more tips are out there that I will come across.
Thanks much!!

1 Like

It is in the documentation: https://github.com/thomasmauerer/hassio-addons/blob/85de78a756bd18270c4d605a941c44f4e8e73054/samba-backup/DOCS.md#home-assistant-sensor There’s even a blueprint.