Slider with amount
Posted: Thursday 23 April 2026 10:21
I have a script that triggers charging of my car depending on the electricity price. I use a variable for the treshold but I would like to use a slider with an amount for this.
First 'problem' is that I can't change the current on/off switch to a dimmer because changing the slider triggers the button to on.
Using a dummy device for the treshold gives a slider value in percentages. Not to big of a problem but is there some way to change this?
First 'problem' is that I can't change the current on/off switch to a dimmer because changing the slider triggers the button to on.
Using a dummy device for the treshold gives a slider value in percentages. Not to big of a problem but is there some way to change this?