I’m finding that if I create selection item mappings that contain odd characters such as < or spaces via the design tab and then subsequently try to use the code tab, it throws errors because they aren’t contained inside quotes.
Example:
Selection item=LivingRoomHeatPump_WideVane mappings=[<<="<<",<="<",|="|",>=">",>>=">>",SWING="SWING"]
Switch item=HarmonyHub_currentActivity mappings=[PowerOff="Off",Watch Video on XBox One="Video",Play Game on XBox One="Game"]
Error: Syntax error at line 107 col 78:
Selection item=LivingRoomHeatPump_WideVane mappings=[<
^
Unexpected lt token: "<". Instead, I was expecting to see one of the following:
If I “fix” the items to have quotes, save, go to design and come right back, the quotes are gone with the errors returned. This makes bulk work via code painful as I have to fix these issues each time.
I suspect I should open an issue but I’m not sure where that would go? Just the Issues · openhab/openhab-core (github.com)?