I don’t think the options should make a difference, but my input_selects are all sets of strings, not numbers.
Here’s a complete test card I threw together just now:
is it possible to use an input_boolean to hide a slider of type custom:slider-entity-row?
I am using this control not for lights, but for a fan, and I need the input_boolean to toggle the manual control of the fan. And only if input_boolean is on, then I want to show the slider.
I have it not set up with conditional cards, but it’s messy, since I have 4 cards now.
I do not have an example for this slider-entity-row. But there are a lot of examples here, you may find a code for hiding an element or the whole row.
Probably it should be based on using a “display: none” CSS property.
Is there a way to trigger another action when the slider position has been used to change the position? I have in mind something similar to “multi_calls:” under tap_action of custom:button-card?
For example, I want to turn off one of the automation (the one that drives the shutters up and down automatically) as soon as the user changes the position using the slider. Another automation that would trigger when position changes is clearly not an option since the position can also be changed by another automation and not strictly manually by the user.
after more than 1 year of happiness with slider-entity-row, I got a strange issue after this month HA update.
On my client Mac computer everything continue to work fine (HA is on Rpi 4+ssd), but on my android phone I got an alert "custom element doesn’t exist: slider-entity-row " for all my 5 roller shutters.
I don’t know where to start to the diagnostic … phone-HA server ???
help please !!!
EDIT: it was an HACS issue, old version, delete manually HACS (it was too old to update), then reinstall it. (Bienu shelly script and slider-entity-row was preserved), then update slider-entity-row to latest version.
it seem it was still working on the Mac before until the cache was cleared.
Hello everyone,
I am trouble positioning a slider vertically.
I can either get it vertically-aligned to the middle but lose the scaling of the slider (i.e. the slider stays the same size even if the card gets scaled):
.card-content {
margin: 0;
position: absolute; #seems to be the key to the problem
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
or I can get the slider to scale properly but then the slider is no longer vertically centered
.card-content {
margin: 0;
position: relative; #seems to be the key to the problem
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
How do you mean? Based on the state of a sensor or really trigger it from an automation? I am a noob myself, but if via automation then I would imagine you would need to create a sensor or input or something where you can write a state and this state can then trigger the slider dis-/appearing