It turns out that the hiding of invisible properties wasn't working because the visible member of property affordances was not being preserved by ZigbeeProperty.asDict().
This PR makes sure that if the visible member exists on the ZigbeeProperty instance, it is included in the dictionary, so that ZigbeeNode eventually removes that property. I hope to eventually get rid of this altogether in #334
It turns out that the hiding of invisible properties wasn't working because the
visible
member of property affordances was not being preserved byZigbeeProperty.asDict()
.This PR makes sure that if the visible member exists on the ZigbeeProperty instance, it is included in the dictionary, so that
ZigbeeNode
eventually removes that property. I hope to eventually get rid of this altogether in #334