I think this question was already in place but can’t really find an answer.
I do have this as example device
Type dimmer : roses "Roses" [ stateTopic="home/climate/diningroom/table/stat/RESULT", commandTopic="home/climate/diningroom/table/cmnd/Dimmer", transformationPattern="JSONPATH:$.Dimmer" ]
but TASMOTA is reporting to RESULT manytimes different data and OH is freaking out everysingle time when “Dimmer” is missing in the MQTT (which is quite often)
2021-11-07 12:02:16.378 [WARN ] [t.generic.ChannelStateTransformation] - Executing the JSONPATH-transformation failed: Invalid path '$.Dimmer' in '{"If":"Done"}
Is there a way how OH may ignore MQTT message if it is not containing Path in transformation instead of reporting Warning?
(yes I can disable WARN messages in log, but that’s not the point)