I want to be able to have a widget for which the entire widget_style changes when active or inactive. To do this I am attempting to configure “set_view()” in baselight for example to update not only icon_style but also widget_style. I then added the widget_style_active and widget_style_inactive defaults to my skins variables.yaml and in the ‘css’ section of the light.yaml widget. I also defined them in my dashboard to change the background-color.
This isn’t working for me, so I wanted to take a better look using some logging for debugging. console.log(), window.console.log() or self.log() don’t put anything in the log file or browser console (Chrome).
Does anyone know how I would better debug this?
Thanks!