From a34d3ff7ef734b07e68857325d6ba841884e4889 Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Thu, 2 Oct 2025 13:24:57 +0200 Subject: [PATCH 1/2] Added unitHint for ChannelType definitions with ItemType 'Number:Dimensionless' Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/thing/channel-types.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml b/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml index d4f16785805e7..977dc7f5be21c 100644 --- a/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml +++ b/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml @@ -760,7 +760,7 @@ - Number:Dimensionless + Number:Dimensionless Current cloudiness. Sun_Clouds @@ -771,7 +771,7 @@ - Number:Dimensionless + Number:Dimensionless Forecasted cloudiness. Sun_Clouds @@ -1068,7 +1068,7 @@ - Number:Dimensionless + Number:Dimensionless Forecasted precipitation probability. Rain @@ -1076,7 +1076,7 @@ Forecast Rain - + From 857325b045157dd27e21eaa6c5b72a378be287dd Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Fri, 3 Oct 2025 11:38:53 +0200 Subject: [PATCH 2/2] Remove min/max from ChannelType definitions Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/thing/channel-types.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml b/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml index 977dc7f5be21c..16940d05632ea 100644 --- a/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml +++ b/bundles/org.openhab.binding.openweathermap/src/main/resources/OH-INF/thing/channel-types.xml @@ -767,7 +767,7 @@ Measurement - + @@ -778,7 +778,7 @@ Forecast - + @@ -1076,7 +1076,7 @@ Forecast Rain - +