Thanks for the link. this version somehow improves the situation.
Stlll some commands like say, pushNotification, sendEmail are not supported.
Still not resolved is the “as DecimalType” bug.
a statement like
If ((number.state as DecimalType) == 1) …
is also flagged as an error.
The workaround is
if (0+number.state as DecimalType) ==1) ,
But honestly I am not happy inserting junk code to workaround buggy tools.
I looks like the tool is “almost” ready.
I would be great if a developer could spend a “moment” and fix this little issues.
you are right but sometime things are fixed or also newly introduced which are really only nice to have.
The fundamental flaws of OH is the infamous, bad DSL und the buggy tooling.
This should be a top priority to fix.