mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
ConfigDescriptionParameter: Document step size value 0 to allow any step size (#4425)
Refs https://github.com/openhab/openhab-webui/pull/2832. Signed-off-by: Florian Hotze <dev@florianhotze.com>
This commit is contained in:
parent
ae1f763b62
commit
4125f3d87b
@ -265,6 +265,10 @@ public class ConfigDescriptionParameter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the value granularity for a numeric value.
|
||||
* <p>
|
||||
* By setting the step size to <code>0</code>, any granularity is allowed, i.e. any number of decimals is accepted.
|
||||
*
|
||||
* @return the value granularity for a numeric value (nullable)
|
||||
*/
|
||||
public BigDecimal getStepSize() {
|
||||
|
Loading…
Reference in New Issue
Block a user