It actually works, but I see that the color button is a bit off. I’ll adjust it and it should work with any size. The slider and color wheel seems to work also at 120x120.
As you can see, there is not enough space for the color button if only one column wide. This is 100x100 so maybe 120x120 will work. I can add some code to make the color button smaller if widget size is less than 2 columns.
so no need to create/publish that
and back then i did decide for 2 widgets 1 with colorpicker and 1 with slider. because of the space problem.
but indeed there is probably need for combined widgets that take 2 places.
If you are using a Chrome browser, please open tha javascript console (press F12 or shift-ctrl I) and chose the element inspector tool (the small icon on the top left of the console) and hover over the widget until you see
div#click_area.click_area
if the widget dimension is very small,this area might overlap with the color picker icon
h1#cp.cp
If this is the case, I’ll try to make the clickable area not overlap by dynamically adjusting the sizes.
Hi, i wonder if you can add a way to set the light white, when im picking a color i can’t return to normal light, i have to set it with google home otherwise I really love this widget !
is it possible to use this with the default layout, i.e. no custom css? I’ve configured one of my switched to use the “swipe_light” and now my layout looks like this: (no css is applied)
I’m using the default theme, so not sure where to find or create the custom css file. - I’ve since created a variables.yaml and a default theme, however all my “squares” are still empty.