nicufarmache / lovelace-big-slider-card

A card with a big slider for light entities in Home Assistant
MIT License
66 stars 11 forks source link

Min settings causes slider value to not go to zero when entity is off #46

Open kris-g opened 8 months ago

kris-g commented 8 months ago

Checklist:

Release with the issue: 1.1.4

Last working release (if known): NA

Browser and Operating System: Windows Chrome iPadOS Safari

Description of problem: When using min setting on a light entity turning off the light shows the slider value stuck at the min value instead of going down to zero like you’d expect for an off light. As a result it becomes quite difficult to tell a light is on, with only the colour of the icon as an indicator.

Light on with dimmer level:

image

Light off:

image
Inrego commented 8 months ago

I just started using this card, and noticed the same issue.

Inrego commented 8 months ago

Tbh I think the best way to implement min/max values would be that sliding cannot go past these values. If the entity has a value outside of the min/max range (set by other cards/automations), then it should be shown correctly on the slider.