cgarwood / homeassistant-zwave_mqtt

Limited Pre-Release of the new OZW1.6 Z-Wave component. Currently has limited platform support. Check the README for more details.
72 stars 8 forks source link

Handle node info updates #94

Closed marcelveldt closed 4 years ago

marcelveldt commented 4 years ago

When node info (such as model/name) updates, push that info to the device registry. Usecase in particular is adding a new Z-Wave node to the mesh where the detailed nodeinfo is lazy loaded.

Fix for #68

Fishwaldo commented 4 years ago

Unless you use replacefailednode. Then it will reuse the Node ID on the failed node

marcelveldt commented 4 years ago

@MartinHjelmare and @cgarwood are you guys OK with merging this one because it improves the usability ? I will submit a new PR to change the private to the pubic method. Otherwise we're blocked until a new hass release comes out with this change applied.

cgarwood commented 4 years ago

I think its fine to merge as-is and then update it once the new HA release comes out