From 99cfb65abaf5fbdc65ebf87b7c83222440f7560b Mon Sep 17 00:00:00 2001 From: lolodomo Date: Tue, 8 Feb 2022 19:06:25 +0100 Subject: [PATCH] [openweathermap] Semantics added to channel types (#10972) Also fix few categories to use only official categories Signed-off-by: Laurent Garnier --- .../resources/OH-INF/thing/channel-types.xml | 30 +++++++++++++++++-- 1 file changed, 27 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 87a3d5cb0..46be639ce 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 @@ -455,6 +455,10 @@ Current apparent temperature. Temperature + + Measurement + Temperature + @@ -502,7 +506,11 @@ Number:Length Precipitation volume of the related timespan. - Precipitation + Rain + + Measurement + Rain + @@ -551,6 +559,10 @@ Current gust speed. Wind + + Measurement + Wind + @@ -566,7 +578,7 @@ Number:Dimensionless Current cloudiness. - Clouds + Sun_Clouds @@ -574,7 +586,7 @@ Number:Dimensionless Forecasted cloudiness. - Clouds + Sun_Clouds @@ -583,6 +595,10 @@ Rain volume of the last hour. Rain + + Measurement + Rain + @@ -614,6 +630,10 @@ Number Current UV Index. + + Measurement + Ultraviolet + @@ -686,6 +706,10 @@ Number:Density Current concentration of carbon monoxide. + + Measurement + CO +