Make sure zwave nodes/entities enter the registry is proper state. (#14251)

* When zwave node's info is parsed remove it and re-add back.

* Delay value entity if not ready

* If node is ready consider it parsed even if manufacturer/product are missing.

* Add annotations
This commit is contained in:
Andrey authored and Paulus Schoutsen committed 2018-05-08 15:30:28 -04:00
1 parent e12994a0cd
commit 10505d542a
4 files changed
+92 -30

No files matched your search

+1 -1
View File
@@ -237,7 +237,7 @@ async def test_unparsed_node_discovery(hass, mock_openzwave):
assert len(mock_receivers) == 1
node = MockNode(node_id=14, manufacturer_name=None)
node = MockNode(node_id=14, manufacturer_name=None, is_ready=False)
sleeps = []