Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Unable to restart addon via homeassistant.addon_restart in automation

$
0
0

@nenonano wrote:

hi there.

HA 103.6 on ubuntu 18 via docker

I’ve an automation that calls homeassistant.addon_restart to restart autossh addon

- id: autosshrestart
  alias: V 02 Autossh restart
  trigger:
  - minutes: /30
    platform: time_pattern
    seconds: '0'
  action:
  - data:
      addon: "3351470_autossh"
    service: hassio.addon_restart

it’s used to work in the past, but I found it isn’t working anymore.
If I call the same service via developer tools with the same data, the addon is correctly restarted.
Tied to call the same service in a script, it doesn’t work.
no error evidence in logs, my configuration looks ok (no error if I check it)

any hints?
TIA

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>