Custom widget: radio button group

Moving over from the the classic UI one of the things I missed for my fans and dimmers was the ability to have a radio button style interface for Off, Low, Med, High instead of the slider so I created this widget. The only thing i’ve not been able to figure out is how to get the color default values to actually work, and oddly 0 as a default value. For some reason when adding the widget to the dashboard those come through as empty values. To get the other numerical values, i’ve had to edit the json file manually to take out the quotes around the number. If anyone knows how to fix that i’d love to know how.

RadioButton.widget.json (3.0 KB)