Which widget for updating sensor state in Appdaemon

Hi I have a sensor (door window shelly) that is working on off and on when magnet slide from sensor. I would like to have a widget that show changing state when activated and possibly to change icon color. Is there any widget because binary_sensor does not works in such manner. Any thoughts? The simplest way is preferred. I use raspberry docker image torkildr/rpi-appdaemon