openhab-core icon indicating copy to clipboard operation
openhab-core copied to clipboard

Thing file loading issue

Open miloit opened this issue 1 year ago • 3 comments

If you add a thing

With the content

Thing http:url:deye "Deye Inverter" [ baseURL="http://192.168.x.x/status.html", headers="", authMode = "BASIC", ignoreSSLErrors = true, delay=0, stateMethod= "GET", refresh= 60, commandMethod= "GET", timeout= 3000, bufferSize= 2048, refresh=15] { Channels: Type number : energyTotal "Energy Total" [ stateTransformation="REGEX:.*var webdata_total_e = \"([0-9]+[\\.][0-9]+).*" ] }

You will always get this error during initializing or loading the thing

Conversion of value '' with type 'class java.lang.String' to 'class java.util.ArrayList' failed. Returning null

The thing or channel is running fine at the end the issue only exist during loading. There should be a hint at least in the docs that because it's irritating and the user gets confused.

miloit avatar May 25 '24 13:05 miloit