openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 70 forks source link

core.items.add_items() throws an exception when tags argument is not supplied #70

Closed ScottKinSF closed 5 years ago

ScottKinSF commented 5 years ago

The tags argument to core.items.add_items() must be iterable, but the default value specified for the tags argument to add_items() is None, which is not iterable. The default value should be an empty list.

I have submitted PR #69 that fixes this on my system.

ScottKinSF commented 5 years ago

I should have caught this when I reviewed PR #63. Sorry 'bout that.

5iver commented 5 years ago

Fixed with #69