Blockly: cannot directly compare openHAB Item state to Math number

This is far from being something new.

I opened up this issue quite a time ago when I wasn’t developing blockly myself and later when I joined the development I started to investigate my own filed issue because my intention was to solve the issue during the development of the new blocks - but as always things are not easy as they seem…

Please read what I learned in my own comment and also the reference I did there where Yannick also shared his insights.

PS: The topic was also mentioned here: Oh3 blockly: logic block compare item state with number - #6 by rlkoshak