I have the same problem. My device only showing as off or idle.
I`ve tried command from the previous post
CURRENT_APP=$(dumpsys activity a . | grep -E 'mResumedActivity' | cut -d ' ' -f 8) && CURRENT_APP=${CURRENT_APP%%/*} && echo $CURRENT_APP
And it shows correct app.
As I understood you had removed this command… Can I fix my problem in any way? I use hassio.