Fix StateDescription deprecations (#9352)
Related to #1408 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -189,7 +189,7 @@ public class KM200ThingHandler extends BaseThingHandler {
|
||||
.withDescription(description) //
|
||||
.withCategory(checkCategory(unitOfMeasure, category, state.isReadOnly())) //
|
||||
.withTags(checkTags(unitOfMeasure, state.isReadOnly())) //
|
||||
.withStateDescription(state.toStateDescription()) //
|
||||
.withStateDescriptionFragment(state) //
|
||||
.withConfigDescriptionURI(configDescriptionUriChannel).build();
|
||||
} catch (URISyntaxException ex) {
|
||||
logger.warn("Can't create ConfigDescription URI '{}', ConfigDescription for channels not avilable!",
|
||||
|
||||
Reference in New Issue
Block a user