openhab-core
openhab-core copied to clipboard
Normalize Metadata configuration from managed provider
Fixes #1904
The reason is that GSON de-serializes numeric metadata configuration values from JSON storage to Double, while textual defined values are BigDecimal. This PR adds normalization of the entries provided by the managed provider.
Signed-off-by: Jan N. Klug [email protected]