You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use a simple configuration of a slider, min- and max-values (declared in stateDescription) are ignored. Sliding to a value above the max-value results in: [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.mqtt.generic.internal.handler.GenericMQTTThingHandler@1210a777': 63 is out of range https://community.openhab.org/t/slider-ignores-statedescription/161287
Your suggestion
Standard widget components should respect stateDescription values by default.
Especially when creating dynamic widgets, it would reduce the effort to check for valid values. I think this aligns with the original purpose of metadata and stateDescription.
The text was updated successfully, but these errors were encountered:
The problem
If I use a simple configuration of a slider, min- and max-values (declared in stateDescription) are ignored. Sliding to a value above the max-value results in:
[ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.mqtt.generic.internal.handler.GenericMQTTThingHandler@1210a777': 63 is out of range
https://community.openhab.org/t/slider-ignores-statedescription/161287
Your suggestion
Standard widget components should respect stateDescription values by default.
Your environment
runtimeInfo:
version: 4.3.0
buildString: Release Build
locale: de-DE
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 17.0.13
javaVendor: Debian
osName: Linux
osVersion: 6.6.62+rpt-rpi-v8
osArchitecture: aarch64
Benefit
Especially when creating dynamic widgets, it would reduce the effort to check for valid values. I think this aligns with the original purpose of metadata and stateDescription.
The text was updated successfully, but these errors were encountered: