mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01: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:
parent
d9ceb63b82
commit
96038c664a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user