hassio-addons / addon-appdaemon

AppDaemon4 - Home Assistant Community Add-ons
https://addons.community
MIT License
151 stars 47 forks source link

Addon info page in HAOS shows 'start' even when AppDaemon is running #227

Closed Scoff123 closed 1 year ago

Scoff123 commented 1 year ago

Problem/Motivation

I am completely new to AppDaemon but have just installed the addon via Home Assistant Addon store. After installing the addon, and clicking 'start' on the addon info page, I check the log page and can see successful start messages. However, back on the info page for the addon, the option to 'start' still remains - there is no 'stop' or any others options other than uninstall.

Expected behavior

I would expect once the addon has started, that there would be an option to 'stop' as well as possibly other options to open webui if there is one for this addon.

Actual behavior

The only options on the info page after the addon has started, is 'Start' and 'uninstall'. Also the red indicator in the top right of the addon info page also gives the impression that the addon hasn't started. This is normally green if an addon is running.

Steps to reproduce

Install the addon version 0.11.0 through the Addon store in HAOS and click on 'Start'. Check the logs to ensure the addon has successfully started. Go back to the addon info page. You will see only options to 'start' or 'uninstall'

Proposed changes

The info screen here is how it looks after already starting the addon

image image

Scoff123 commented 1 year ago

After leaving the addon running for an hour or so, the HA addon UI seemed to update to correctly show the running state with all expected options of 'stop', 'restart', 'open web ui' and 'uninstall image