Traceback (most recent call last):


 "./HueEmulator3.py", line 1502, in <module>

scanDeconz()


 "./HueEmulator3.py", line 806, in scanDeconz

bridge_config["sensors"][new_sensor_id] = {"config": deconz_sensors[sensor]["config"], "manufacturername": deconz_sensors[sensor]["manufacturername"], "modelid": deconz_sensors[sensor]["modelid"], "name": deconz_sensors[sensor]["name"], "state": deconz_sensors[sensor]["state"], "swversion": deconz_sensors[sensor]["swversion"], "type": deconz_sensors[sensor]["type"], "uniqueid": deconz_sensors[sensor]["uniqueid"]}
KeyError: 'swversion'

Traceback (most recent call last):

 "<string>", line 1, in <module>

 "/home/foo/.local/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1564, in nanargmin
return _nanop(np.argmin, np.inf, a, axis)

 "/home/foo/.local/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1400, in _nanop
res[mask_all_along_axis] = np.nanValueError: cannot convert float NaN to integer