Restart Appdaemon service

I need to restart Appdaemon every night at 3am. I am running HA on a Raspberry Pi. I have managed to restart HA at 3am, but this does not restart Appdaemon. I know it can be done, as you can manually reboot Appdaemon from the UI.

I don’t know if it’s because it’s on a Pi, but I don’t see it running as a service. So can’t restart via systemd or systemctl.

Reason for restart is because my broadlink switch stops working after 48 hours, until I restart the Appdaemon service manually.

It’s ok, I sorted it. The slug in the Add-on view showed a string of characters separated with a “-“. Eg. 4de6703-appdaemon

I was using this in the automations.yaml.

Need to replace the - with an _

4de6703_appdaemon