mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-31 13:34:22 +02:00
[mqtt.generic] Don't log state description from provider when not found (#14650)
Fixes #9782 Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
+3
-1
@@ -68,7 +68,9 @@ public class MqttChannelStateDescriptionProvider implements DynamicStateDescript
|
||||
public @Nullable StateDescription getStateDescription(Channel channel,
|
||||
@Nullable StateDescription originalStateDescription, @Nullable Locale locale) {
|
||||
StateDescription description = descriptions.get(channel.getUID());
|
||||
logger.trace("Providing state description for channel {}", channel.getUID());
|
||||
if (description != null) {
|
||||
logger.trace("Providing state description for channel {}", channel.getUID());
|
||||
}
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user