I am not sure if this is a bug or not, but when I try to use the Fan device with Slider UI to have 'steps' other than the default 1, it does not change the steps. The steps remain 1 at all times.
For example, if I make I change value(1) to value(10) in steps:
Code: Select all
Param level_param("Angle", "custom.param.level", value(0), PROP_FLAG_READ | PROP_FLAG_WRITE);
level_param.addBounds(value(0), value(90), value(10));
level_param.addUIType(ESP_RMAKER_UI_SLIDER);
..I expect the slider to have 10 discrete selectable positions, or snap to 0, 10, 20,.. 90. BUT it doesn't change anything, I can still slide it to any number.
Can someone please check.
Thanks