Add system options to config entries (#25926)

* Add system options to config entries

* For feedback

* Follow most of balloobs comments

* Fix balloobs comments

* Improvements

* Fix second round of Balloobs comments

* Fix third round

* Add system options to mock config entry

* Fix integration tests

* Fix the last failing tests

* Fix disabled string

* Fix failing disabled_by tests

* New tests

* Config entry WS API tests

* Fix comments
This commit is contained in:
Robert Svensson authored and Paulus Schoutsen committed 2019-08-17 21:34:11 -07:00
1 parent fc716a45c9
commit a2589f56e1
29 files changed
+254 -27

No files matched your search

+1
View File
@@ -287,6 +287,7 @@ async def setup_ozw(hass, mock_openzwave):
{"usb_path": "mock-path", "network_key": "mock-key"},
"test",
config_entries.CONN_CLASS_LOCAL_PUSH,
system_options={},
)
await hass.config_entries.async_forward_entry_setup(config_entry, "lock")
await hass.async_block_till_done()