Closed ChristophCaina closed 4 months ago
The template-entity-row
does not support a slider.
Initially, it is not a good idea to use the template-entity-row
for changing an icon's color - use card-mod instead, it is designed for styling.
Hi :) Thanks! My workaround so far is now, to use the "slider-entity-row" here - and set it to full_row: true.
Unfortunately, the slider-row-entity itself does not work for "number" entities... I could replace my own slider for the cover, since the slider-entity-row does support covers, but on another area where I would like to recreate this design it is not working atm.
I will check the options of Card-Mod, as suggested.
Hi, I've decided to use the template-entity-row to change the color of the icon from a number-slider. The Entity I am referring to is a cover / shutter - and I am using the default entities card from HomeAssistant - which does only provide the slider in the "more info" section.
Therefore, I've created a number template, which does call the service to change the position...
Now, when I add the template, the slider disappears.
Card with enabled template:
The color changing is working as expected, but the slider disappeared.
Card with disabled template:![grafik](https://user-images.githubusercontent.com/26391061/197504720-2706ef4d-69da-4621-af14-e510037ed8c6.png)
Card with enabled template and without template for the same number silider:![grafik](https://user-images.githubusercontent.com/26391061/197505368-a3c49b37-11c4-460b-9c89-d9e758bceaa1.png)