I am currently working my way through adding items to my .items file. Thankfully, I have a DarkSky account from way back, so I’m adding the rules on this page. https://www.openhab.org/addons/bindings/darksky/ There are a lot of them. I am typing them all in by hand so that I really get it my head.
However, I find myself typing (copying and pasting) this quite a bit.
I think it would help clean up the .items file if the parser would let us make a line like this at the beginning of the file.
#define darkSkyAccLoc = “darksky:weather-and-forecast:dark_sky_account:local”
So then later on I could do $$darkSkyAccLoc, or something like that.
Maybe a “var” statement like in the rules files, since the parser is kind of like that.
Thank you for this awesome application.