NumberPower1.update NULL
logger.info 'test' if (2 | 'W') < NumberPower1
Error:
13:34:45.277 [ERROR] [ript.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/test1.rb': Error during evaluation of Ruby in org/jruby/RubyComparable.java at line 209: (ArgumentError) comparison of Java::OrgOpenhabCoreLibraryTypes::QuantityType with OpenHAB::Core::ItemProxy failed
Item:
Script:
Error: