Can you elaborate where the set_value function comes into things? - I’ve searched and can’t find much on it, so struggling to piece together how it all works… (Sorry if its obvious, i’m still getting to grips with ha / hadashboard)
the information i posted was actually for @aimc so he knows how to implement
the set_value function is in the js files from the base widget.
if you want to recreate this, you need to find the widgets dir in the site-packages from python and copy the desired widget to the dir /conf/custom_widgets
you need the yaml file and the basedir.
then you can edit the js file in the base dir. and the yaml file to add this function.