Fix StateDescription deprecations (#9352)
Related to #1408 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -389,7 +389,7 @@ public class SensiboSkyHandler extends SensiboBaseThingHandler implements Channe
|
||||
stateDescription = stateDescription.withPattern(pattern);
|
||||
}
|
||||
final StateChannelTypeBuilder builder = ChannelTypeBuilder.state(channelTypeUID, label, itemType)
|
||||
.withStateDescription(stateDescription.build().toStateDescription());
|
||||
.withStateDescriptionFragment(stateDescription.build());
|
||||
if (tag != null) {
|
||||
builder.withTag(tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user