Support zwave glob & domain device settings. (#6046)

* Support zwave glob & domain device settings.

* data[DATA_DEVICE_CONFIG].get() now always return non-None

* Update test

* Update tests2

* Lint fix
This commit is contained in:
Andrey authored and Paulus Schoutsen committed 2017-02-16 15:19:22 -08:00
1 parent a496a7c792
commit 905f4bf994
3 files changed
+16 -4

No files matched your search

+2 -1
View File
@@ -43,4 +43,5 @@ def test_device_config(hass):
for key, value in device_config.items()
}
assert hass.data[DATA_DEVICE_CONFIG] == test_data
assert hass.data[DATA_DEVICE_CONFIG].get('light.kitchen') == \
test_data.get('light.kitchen')