Would it be possible set two values in only one slider?. For example to set min and max values of something.
Actually I have two input_number to set minimun and maximun Raspberry’s temperature. And two automations to connect/disconnect the CPU fan: If temp>max then fan on; if temp<min then fan off
It would be so nice a slider like this (I’ll try to draw it in ascii):
Fan interval Min:40 |----O=====================O-------------------| Max:60
or with other values:
Fan interval Min:45 |--------O============================O--------| Max:70
Yes. I got the same problem. The show_header_toggle doesn’t work on the Custom:slider-entity-row entities anymore.
When you add a normal entity the header toggle show up but only toggles the normal entities in the card, not the slider row entities.
Have a question, is it possible to invert the value of the cover slider when 100% is totally down (closed) and 0 the blind totally rolled up (open)?
right now 0% is the blind is totally down.
I have a question concerning the value shown next to the slider.
At the moment it is by default a percentage value.
My use case is to control lights with DMX channels and values 0 to 255. So I would like to see the set value e.g. 255 instead of a percentage value 100%.
How can I make this happen?
Also I find the behavior of the slider weird that it jumps back to 100% (middle) when set to 255 (max right). Is it possible to change this behavior, so that it stays to set value e.g. 255 (max right)?
@thomasloven A have a similar, but different problem. One of the sliders is showing percentage, which is correct in this context, but the other one is not, which is the problem. The strangest thing is, it’s still sending percentage values to the ESP, same ones as the first one. Can I somehow control this behavior?
Thanks for this card however would it be possible to use one slider to control both the brightness and color temp of a bulb (eg the bulb temp becomes warmer at a lower brightness).
Is there anything special needed to get this to work with Google Cast? I am running HA ver 2021.01 and see the same “Custom element doesn’t exist: slider-entity-row” in @Ashwood’s photo on my Nest hub and Chromecast - although they work fine in a normal web browser.
Installed via HACS and files are at:
\config\www\community\lovelace-slider-entity-row
This plugin is awesome. Thanks for putting this together.
I have it working and it’s working great, but I get an error in the code and it won’t let me switch back to UI mode. Here’s the error:
UI editor is not supported for this config:
The value of “entities.0” is not supported by the UI editor, we support “Object<{entity,name,icon,image,secondary_info,format,state_color,tap_action,hold_action,double_tap_action}> | string | Object<{type,name,action_name,tap_action,hold_action,double_tap_action}> | Object<{type,view,dashboard,name,icon,hide_if_unavailable}> | Object<{type,row,conditions}> | Object<{type,style}> | Object<{type,label}> | Object<{type,url,name,icon}> | Object<{type,entities}> | Object<{type,entity,attribute,prefix,suffix,name}> | Object<{type,name,service,icon,action_name,service_data}>” but received “{“type”:“custom:slider-entity-row”,“entity”:“light.caseta_r_wireless_in_wall_dimmer”,“name”:“Front Porch”,“toggle”:true}”.
You can still edit your config in YAML.
Here’s the yaml that’s created partially by the UI and adding the slider info in manually:
I want to go back into the UI to change the icons but it will not let me re-enter UI mode. The sliders are working perfectly so not sure what is wrong.
OK. I’m pretty savvy with HA and coding in general, but I cannot make sense of the myriad of descriptions and inconsistencies around this slider. You cannot add it with the GUI so where does the YAML go to add it manually? Also, what exactly is the path to use? The file seemingly used to be called something else and/or the install instructions are unclear. I installed via HACS and tried to add manually per instructions. I now have 2 URLs:
/hacsfiles/lovelace-slider-entity-row/slider-entity-row.js
/www/community/lovelace-slider-entity-row/slider-entity-row.js
I still get the “custom component doesn’t exist” error. Can someone please give a direct, detailed description from start to finish on how to install and add this to a card?
It’s not a custom component though, it’s a frontend resource. So I don’t quite understand where you get that error from.
I’m not entirely sure if this will work (I do everything from YAML, but from what I can see, it’s not necessary): open the HA sidebar and go to “Configuration > Lovelace Dashboards” and select the “Resources” tab. There you should be able to add the module as a resource.
HACS tells you which path to use, but the default path is /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js.