Fix error in get_device_by_ip, rev to version 0.15.