support newer deCONZ api versions (#2410)

This commit is contained in:
rhooper authored and Paulus Schoutsen committed 2016-07-02 11:18:54 -07:00
1 parent ba8e417390
commit 449be29022
1 file changed
+1 -1
+1 -1
View File
@@ -129,7 +129,7 @@ def setup_bridge(host, hass, add_devices_callback, filename,
new_lights = []
api_name = api.get('config').get('name')
if api_name == 'RaspBee-GW':
if api_name in ('RaspBee-GW', 'deCONZ-GW'):
bridge_type = 'deconz'
else:
bridge_type = 'hue'