Support Z-Wave NodeEvent Notifications

I’ve run into an issue trying to configure a Z-Wave Leviton scene controller (VRCZ1-1LZ) in HA that I think i’ve finally tracked down. It seems that HA only supports detecting “ValueChanged” Z-Wave notifications from OpenZwave, whereas my Leviton controller reports it’s status changes as “NodeEvent” notifications under the basic set class.

It seems OpenZwave already has the necessary hooks in place to handle this notification type, it’s just not currently implemented in HA. I’d be happy to test any suggestions/code changes in order to get things working as this is the last piece of the puzzle for my migration from openhab.

Example snippet from OpenZwave log during a button press:

2016-07-20 19:47:42.494 Detail, Node011, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x0b, 0x03, 0x20, 0x01, 0x00, 0xdb
2016-07-20 19:47:42.494 Detail,
2016-07-20 19:47:42.494 Info, Node011, Received Basic set from node 11: level=0. Sending event notification.
2016-07-20 19:47:42.494 Detail, Node011, Notification: NodeEvent