I don’t know if this is relevant, but I’m trying do define a Map, like this:
var Map<GenericItem, State> LightStates = null
However this does not work, as “State cannot be resolved to a Type” Is State a Type?
If I leave the parameters off, I get a warning “Map is raw type it should be parameterized”, but it works.
The discussion here https://community.openhab.org/t/storestates-restorestates/29994/3 says that this is correct.
Not a big deal, the raw Map works, just gives an error when the rules are loaded is all.