Cheers, I had managed to find another post where you pointed it out so had got it working.
Question about CSS for the sliders where/what do I change to adjust the width / style of the slider. Your images at the start of this have a different style to the ones I am getting. I can move the title, max and min values etc, even the position of the slider but I cant change the slider itself.
all those default vars can be changed with any valid css.
the result is that you create a new default view for the widget.
if you then want to change 1 specific widget you use:
in all the style variables you can put any valid css.
so when you want to change how the slider looks?
then you put the css for that in slider_style or in new_input_slider_slider_style.
Hi @ReneTode, thanks very much for the light with brightness widget, itâs exactly the functionality I was looking for. Iâm wondering if you could help me with the configuration - Iâd like to apply the some styles to the widget, so I currently have in my .dash file:
No bold title, no yellow for active (and inactive is also white and not grey as it should be). But it looks like itâs picked up the icon. I feel like Iâm missing something simple hereâŚ
Thank you for the reply. I donât use a skin, just the default. I am using the app daemon Docker container and I donât think I have a variables.yaml file in my config directory currently. Where should I create it?
I just added the input select to my dashboard and its not showing up right, I get an error when I look at java but havent been able to decipher it. No errors show in appdaemon. If you can take a look and see if you notice anything I would appreciate it.
da@das:/home/homeassistant/conf/custom_widgets$ ls
baseselect baseslider_vertical new_input_slider.yaml
baseslider_new input_select.yaml vertical_input_slider.yaml
da@das:/home/homeassistant/conf/custom_widgets$
da@das:/home/homeassistant/conf/custom_widgets$
da@das:/home/homeassistant/conf/custom_widgets$ cd baseselect/
da@das:/home/homeassistant/conf/custom_widgets/baseselect$
da@das:/home/homeassistant/conf/custom_widgets/baseselect$
da@das:/home/homeassistant/conf/custom_widgets/baseselect$ ls
baseselect.css baseselect.html baseselect.js
da@das:/home/homeassistant/conf/custom_widgets/baseselect
Its actually causing my other widgets to be black also:
Thank you sir. Added that line and they showed up! It actually looks pretty cool on the ipad, I dig it. Thanks again for all your hard work, patience, and help!
Hey one more question. For the light with color picker, it is just showing up as a bar and blanked out the below widgets. see below. I looked for a set / select value but do not see that. Ive added the files, did I miss something on this one too?
da@das:/home/homeassistant/conf/custom_widgets$ ls
base_light_with_colorpicker baseslider_vertical light_with_colorpicker.yaml wunderground.yaml
baseselect basewunderground new_input_slider.yaml
baseslider_new input_select.yaml vertical_input_slider.yaml
da@das:/home/homeassistant/conf/custom_widgets$
da@das:/home/homeassistant/conf/custom_widgets$ cd base_light_with_colorpicker/
da@das:/home/homeassistant/conf/custom_widgets/base_light_with_colorpicker$
da@das:/home/homeassistant/conf/custom_widgets/base_light_with_colorpicker$ ls
base_light_with_colorpicker.css base_light_with_colorpicker.html base_light_with_colorpicker.js
da@das:/home/homeassistant/conf/custom_widgets/base_light_with_colorpicker$
Ive usally waited to add those in my skins until after I got it working. But I did just add them and it didnt change. Here is a screen shot directly from my ipad. And the variables file. I am seeing a light bulb above that line now, but nothing that is able to slide, like on my volume for example you see the little bubble you drag to change the value. I tried to restart the appdaemon server, my ipad, and chrome / safari / firefox on my mac. All with similar results. I get what you see in the image below on all of them except in chrome I get the lightbulb above. (I normally do use chrome, was just testing).
If I touch the bar on my ipad I get a little line at the beginning you can see below. I cant move it though, also the light is currently off.
When I click on the bar within chrome this little box pops up, if i change the color it just changes the color of the bar on the dashâŚ
light.basement_color is acrually a group with 2 hue strips inside. I tried using one light strip instead of a group with same result.
basement_strips:
widget_type: light_with_colorpicker
entity: light.basement_tv_strip
title: TV Light
I dont see anything bad in the logâŚ
2017-12-18 17:08:45.585027 INFO Loading custom widget âinput_select.yamlâ
2017-12-18 17:08:45.585240 INFO Loading custom widget âbase_light_with_colorpickerâ
2017-12-18 17:08:45.585648 INFO Loading custom widget â._new_input_slider.yamlâ
2017-12-18 17:08:45.585829 INFO Loading custom widget â._vertical_input_slider.yamlâ
2017-12-18 17:08:45.586064 INFO Loading custom widget âbaseselectâ
2017-12-18 17:08:45.586422 INFO Loading custom widget âbaseslider_verticalâ
2017-12-18 17:08:45.586786 INFO Loading custom widget âvertical_input_slider.yamlâ
2017-12-18 17:08:45.586994 INFO Loading custom widget âwunderground.yamlâ
2017-12-18 17:08:45.587196 INFO Loading custom widget âbasewundergroundâ
2017-12-18 17:08:45.587518 INFO Loading custom widget âbaseslider_newâ
2017-12-18 17:08:45.587826 INFO Loading custom widget ânew_input_slider.yamlâ
2017-12-18 17:08:45.587979 INFO Loading custom widget âlight_with_colorpicker.yamlâ
2017-12-18 17:08:45.733929 INFO function [get_dashboard] finished in 636 ms
what browser are you using?
this could be a browser problem (also because you have an ipad on which i cant test anything)
your colorpicker is completely different then on android or the PC.
Hmmm, this is odd. So I realized with that color picker box that popped up. If I select a dif color it does actually change the color of the strip. Theres still no way to adjust it on the dashboard or make it brighter.
Same thing in Chrome on a windows box. I get the thick bar that doesnt do anything and a color picker pop up.
switchs the light on and off when you click on the icon.
gives you a colorpicker page to change the color of the light when you click on the bar.
brightness cant be set with that widget.
and because of the little space insade a widget i didnt create a widget that can set brightness AND color.
thats why there are 2 widgets for brightness OR colorchange.
so the bar is to show which color you have set and to activate the colorpicker.
and it seems to do just that.
allthough you shouldnt have that error.
when i get the time tommorow i will check that out.