Hi Denis,
thank you so much, I’m using your amended Phython 3.9 script with my Openhab 3.0 Raspberry Pi system. It works perfectly! I’m using it with my Meross MSS550X wallswitches.
so following is needed:
for those who need to configure the MS550X Openhab 3.0 channel should also work with Openhab 2.5:
Meross outgoing value transformation .js:
setMerossState.js.txt (119 Bytes)