-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Max does not work #60
Comments
I haven't tested if it is because of this, but pretty sure it because you set the min and max in the styles. You need to put those config keys in the root of the slider config. type: custom:my-slider-v2
entity: media_player.living_room_tv_2
vertical: true
min: 1
max: 20
showMin: true
disableScroll: true
styles:
card:
- height: 182px
- width: 110px
layout_options:
grid_columns: 1
grid_rows: 3 Let me know if this works so we can close the issue. If not, then I will try to find some time to look at it soon. |
Hi, this solution seems to work only if the card is in the "normal" yaml flow of the page. I specify that this anomaly occurs only for the MAX value and not for the MIN... Off-topic: Anyway, returning to the topic, an error appears on the page and, moreover, in the console it reads:
Thanks for the support |
Current Behavior
when setting the max option in the card config, the card allows the value to be set higher then max value.
Expected Behavior
when sliding up i expect the value to stop at what was set under the max setting.
in my case TV volume can not be set above 20.
Steps To Reproduce
add the following card code
slide volume and observe setting change on the device
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: