Creating a add-on state sensor


I want to create a stop-start state sensor for one of my add-on. Is there a way to do it?

I thought supervisor integration automatically creates these sensors for each add-on?

Apparently i am wrong but this shell command might help you;

docker ps --filter name=duckdns --filter status=running

You can also create a feature request for this

Supervisor sensor only provides version and updates

But I found this

Right now Iā€™m keep getting Template variable error: 'value_json' is undefined when rendering '{{ }} error


Thank you!