File "<script>", line 14, in christmas_tree
AttributeError: 'org.openhab.core.automation.module.script.internal' object has no attribute 'Sun_Elevation'
The offending line:
if items.Sun_Elevation.intValue() > 0:
The item Sun_Elevation is there, I even saw it in the log
15:28:18.111 [INFO ] [smarthome.event.ItemStateChangedEvent] - Sun_Elevation changed from 18.159740514762 to 17.9778766397046
Now if I changed the code to this, it works fine:
if items['Sun_Elevation'].intValue() > 0:
It is as if the glue that enables the items being accessed as an attribute to the items object has been disabled.
Hi Scott, thanks for looking into this. In my logs for the past several weeks, I could only find it happen on one day, 3 days ago. So perhaps it was just some sort of a glitch, because I was reloading some mqtt stuff. Sorry, please consider it bogus for now.