Basic UI setpoint negative values

latest OH4.3.0 on rpi5
Any clues why adding setpoint in sitemap it doesn’t like negative values ?

Error: Syntax error at line 4 col 63:

2          Setpoint item=panasonic_heat_pump_Shift_mode minValue=-5 maxValue=5 step=1
3      }
4  }
                                                                 ^
Unexpected hyphen token: "-". Instead, I was expecting to see one of the following:

A WS token based on:
    __ →  ● %WS
    _ →  ● __

2 Likes

I am having the same trouble, not sure why.

It only seems to be a problem in the code tab, the design tab still works, but I find it much easier to edit in the code tab.

This is probably a bug. I will look into it.

1 Like

PR created: Sitemap editor: fix negative number parameters by mherwege · Pull Request #3055 · openhab/openhab-webui · GitHub

1 Like