is anyone knows how to check if:
- item exists.
I use the rule
val SocketItem = ScriptServiceUtil.getItemRegistry.getItem(transform("MAP", "broadlink.map", receivedCommand.toString))
But item not in registry i get
2020-01-13 21:24:43.982 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Change Item State from real Remote Controller': Item '' could not be found in the item registry
- transformation returns result. Again the same code i get sometimes error is there is no transformation
2020-01-13 21:24:43.978 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'ID-0171f400--SWITCH-2--CMD-OFF' with the file 'broadlink.map' : Target value not found in map for 'ID-0171f400--SWITCH-2--CMD-OFF'
Thanks a lot!